/*-+-*****************************************************************************
 Copyright (C) 2009-2012 Oceanside Software Corporation (R)
 Dallas, Texas

 Author       : Jason T. Brower
 Purpose      : This file is part of a point-of-sale software package
                originally written for Table-Service Restaurants.
              
 Date         : July 8th of 2012
              
 History      : The application that this software file belongs to was 
                written over a 3-Year period.  The first version was written
                in C# .Net 3.5 using Windows Forms.  Being new to .Net at
                the time, I soon learned of Windows Presentation Foundation,
                liked the graphics capabilities and databinding so I
                migrated to WPF.  When the .Net 4.0 framework was released
                the application was migrated from 3.5 to 4.0. Now today,
                .Net 4.5 RC is out and I was already in process of migrating
                before I made this public.
                
Excuse Me     : Please excuse the coding style, it is not representative of
                my typical work.  During the three years I was under a very
                tight budget, constantly running out of funding and was 
                working 18 hour days hyped up on 5-Hour Energy.  The 
                design is not textbook.  It is monolythic because of
                previous issues I will not get into.  There are few comments
                in the code and the ones that are there may be incorrect.
                
What it is not: This is not the exact version that I took through PA-DSS 2.0
                nor is it the exact version running at my customer sites.
                I removed some details for security purposes including some
                encryption algorithms.  The reporting was removed because
                I was including a third party library that cannot be 
                published with this Open Source.
                
What it is    : This application has been running at high volume restaraunts
                for over a year.  It never freezes, crashes or does anything
                unexpected.  So long as it is built, installed and configured
                correctly, it is a strong system that we can all enhance.

Contact       : Please note that I can no longer work for free.  However, you
                can reach me at information@oceansidesw.com.                                                      

*********************************************************************************/
#if _LOCALDB






//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.239
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

[assembly: System.Data.Mapping.EntityViewGenerationAttribute(typeof(Edm_EntityMappingGeneratedViews.ViewsForBaseEntitySets4EA127413825D06CEEB0416683FE289CB5098151881031FF2B37F9F15C7F935D))]

namespace Edm_EntityMappingGeneratedViews
{
    
    
    /// <Summary>
    /// The type contains views for EntitySets and AssociationSets that were generated at design time.
    /// </Summary>
    public sealed class ViewsForBaseEntitySets4EA127413825D06CEEB0416683FE289CB5098151881031FF2B37F9F15C7F935D : System.Data.Mapping.EntityViewContainer
    {
        
        /// <Summary>
        /// The constructor stores the views for the extents and also the hash values generated based on the metadata and mapping closure and views.
        /// </Summary>
        public ViewsForBaseEntitySets4EA127413825D06CEEB0416683FE289CB5098151881031FF2B37F9F15C7F935D()
        {
            this.EdmEntityContainerName = "DominicaEntities";
            this.StoreEntityContainerName = "DominicaModelStoreContainer";
            this.HashOverMappingClosure = "d04d4b9acb7b4eda7b54333927797792a2c4a80a84511948d3822a3b5fb05fd4";
            this.HashOverAllExtentViews = "c3cf1e508b75cf529437b8ef7499e5c547e277c2e65ff0c045eadf9f6fe0d30d";
            this.ViewCount = 161;
        }
        
        /// <Summary>
        /// The method returns the view for the index given.
        /// </Summary>
        protected override System.Collections.Generic.KeyValuePair<string, string> GetViewAt(int index)
        {
            if ((index == 0))
            {
                return GetView0();
            }
            if ((index == 1))
            {
                return GetView1();
            }
            if ((index == 2))
            {
                return GetView2();
            }
            if ((index == 3))
            {
                return GetView3();
            }
            if ((index == 4))
            {
                return GetView4();
            }
            if ((index == 5))
            {
                return GetView5();
            }
            if ((index == 6))
            {
                return GetView6();
            }
            if ((index == 7))
            {
                return GetView7();
            }
            if ((index == 8))
            {
                return GetView8();
            }
            if ((index == 9))
            {
                return GetView9();
            }
            if ((index == 10))
            {
                return GetView10();
            }
            if ((index == 11))
            {
                return GetView11();
            }
            if ((index == 12))
            {
                return GetView12();
            }
            if ((index == 13))
            {
                return GetView13();
            }
            if ((index == 14))
            {
                return GetView14();
            }
            if ((index == 15))
            {
                return GetView15();
            }
            if ((index == 16))
            {
                return GetView16();
            }
            if ((index == 17))
            {
                return GetView17();
            }
            if ((index == 18))
            {
                return GetView18();
            }
            if ((index == 19))
            {
                return GetView19();
            }
            if ((index == 20))
            {
                return GetView20();
            }
            if ((index == 21))
            {
                return GetView21();
            }
            if ((index == 22))
            {
                return GetView22();
            }
            if ((index == 23))
            {
                return GetView23();
            }
            if ((index == 24))
            {
                return GetView24();
            }
            if ((index == 25))
            {
                return GetView25();
            }
            if ((index == 26))
            {
                return GetView26();
            }
            if ((index == 27))
            {
                return GetView27();
            }
            if ((index == 28))
            {
                return GetView28();
            }
            if ((index == 29))
            {
                return GetView29();
            }
            if ((index == 30))
            {
                return GetView30();
            }
            if ((index == 31))
            {
                return GetView31();
            }
            if ((index == 32))
            {
                return GetView32();
            }
            if ((index == 33))
            {
                return GetView33();
            }
            if ((index == 34))
            {
                return GetView34();
            }
            if ((index == 35))
            {
                return GetView35();
            }
            if ((index == 36))
            {
                return GetView36();
            }
            if ((index == 37))
            {
                return GetView37();
            }
            if ((index == 38))
            {
                return GetView38();
            }
            if ((index == 39))
            {
                return GetView39();
            }
            if ((index == 40))
            {
                return GetView40();
            }
            if ((index == 41))
            {
                return GetView41();
            }
            if ((index == 42))
            {
                return GetView42();
            }
            if ((index == 43))
            {
                return GetView43();
            }
            if ((index == 44))
            {
                return GetView44();
            }
            if ((index == 45))
            {
                return GetView45();
            }
            if ((index == 46))
            {
                return GetView46();
            }
            if ((index == 47))
            {
                return GetView47();
            }
            if ((index == 48))
            {
                return GetView48();
            }
            if ((index == 49))
            {
                return GetView49();
            }
            if ((index == 50))
            {
                return GetView50();
            }
            if ((index == 51))
            {
                return GetView51();
            }
            if ((index == 52))
            {
                return GetView52();
            }
            if ((index == 53))
            {
                return GetView53();
            }
            if ((index == 54))
            {
                return GetView54();
            }
            if ((index == 55))
            {
                return GetView55();
            }
            if ((index == 56))
            {
                return GetView56();
            }
            if ((index == 57))
            {
                return GetView57();
            }
            if ((index == 58))
            {
                return GetView58();
            }
            if ((index == 59))
            {
                return GetView59();
            }
            if ((index == 60))
            {
                return GetView60();
            }
            if ((index == 61))
            {
                return GetView61();
            }
            if ((index == 62))
            {
                return GetView62();
            }
            if ((index == 63))
            {
                return GetView63();
            }
            if ((index == 64))
            {
                return GetView64();
            }
            if ((index == 65))
            {
                return GetView65();
            }
            if ((index == 66))
            {
                return GetView66();
            }
            if ((index == 67))
            {
                return GetView67();
            }
            if ((index == 68))
            {
                return GetView68();
            }
            if ((index == 69))
            {
                return GetView69();
            }
            if ((index == 70))
            {
                return GetView70();
            }
            if ((index == 71))
            {
                return GetView71();
            }
            if ((index == 72))
            {
                return GetView72();
            }
            if ((index == 73))
            {
                return GetView73();
            }
            if ((index == 74))
            {
                return GetView74();
            }
            if ((index == 75))
            {
                return GetView75();
            }
            if ((index == 76))
            {
                return GetView76();
            }
            if ((index == 77))
            {
                return GetView77();
            }
            if ((index == 78))
            {
                return GetView78();
            }
            if ((index == 79))
            {
                return GetView79();
            }
            if ((index == 80))
            {
                return GetView80();
            }
            if ((index == 81))
            {
                return GetView81();
            }
            if ((index == 82))
            {
                return GetView82();
            }
            if ((index == 83))
            {
                return GetView83();
            }
            if ((index == 84))
            {
                return GetView84();
            }
            if ((index == 85))
            {
                return GetView85();
            }
            if ((index == 86))
            {
                return GetView86();
            }
            if ((index == 87))
            {
                return GetView87();
            }
            if ((index == 88))
            {
                return GetView88();
            }
            if ((index == 89))
            {
                return GetView89();
            }
            if ((index == 90))
            {
                return GetView90();
            }
            if ((index == 91))
            {
                return GetView91();
            }
            if ((index == 92))
            {
                return GetView92();
            }
            if ((index == 93))
            {
                return GetView93();
            }
            if ((index == 94))
            {
                return GetView94();
            }
            if ((index == 95))
            {
                return GetView95();
            }
            if ((index == 96))
            {
                return GetView96();
            }
            if ((index == 97))
            {
                return GetView97();
            }
            if ((index == 98))
            {
                return GetView98();
            }
            if ((index == 99))
            {
                return GetView99();
            }
            if ((index == 100))
            {
                return GetView100();
            }
            if ((index == 101))
            {
                return GetView101();
            }
            if ((index == 102))
            {
                return GetView102();
            }
            if ((index == 103))
            {
                return GetView103();
            }
            if ((index == 104))
            {
                return GetView104();
            }
            if ((index == 105))
            {
                return GetView105();
            }
            if ((index == 106))
            {
                return GetView106();
            }
            if ((index == 107))
            {
                return GetView107();
            }
            if ((index == 108))
            {
                return GetView108();
            }
            if ((index == 109))
            {
                return GetView109();
            }
            if ((index == 110))
            {
                return GetView110();
            }
            if ((index == 111))
            {
                return GetView111();
            }
            if ((index == 112))
            {
                return GetView112();
            }
            if ((index == 113))
            {
                return GetView113();
            }
            if ((index == 114))
            {
                return GetView114();
            }
            if ((index == 115))
            {
                return GetView115();
            }
            if ((index == 116))
            {
                return GetView116();
            }
            if ((index == 117))
            {
                return GetView117();
            }
            if ((index == 118))
            {
                return GetView118();
            }
            if ((index == 119))
            {
                return GetView119();
            }
            if ((index == 120))
            {
                return GetView120();
            }
            if ((index == 121))
            {
                return GetView121();
            }
            if ((index == 122))
            {
                return GetView122();
            }
            if ((index == 123))
            {
                return GetView123();
            }
            if ((index == 124))
            {
                return GetView124();
            }
            if ((index == 125))
            {
                return GetView125();
            }
            if ((index == 126))
            {
                return GetView126();
            }
            if ((index == 127))
            {
                return GetView127();
            }
            if ((index == 128))
            {
                return GetView128();
            }
            if ((index == 129))
            {
                return GetView129();
            }
            if ((index == 130))
            {
                return GetView130();
            }
            if ((index == 131))
            {
                return GetView131();
            }
            if ((index == 132))
            {
                return GetView132();
            }
            if ((index == 133))
            {
                return GetView133();
            }
            if ((index == 134))
            {
                return GetView134();
            }
            if ((index == 135))
            {
                return GetView135();
            }
            if ((index == 136))
            {
                return GetView136();
            }
            if ((index == 137))
            {
                return GetView137();
            }
            if ((index == 138))
            {
                return GetView138();
            }
            if ((index == 139))
            {
                return GetView139();
            }
            if ((index == 140))
            {
                return GetView140();
            }
            if ((index == 141))
            {
                return GetView141();
            }
            if ((index == 142))
            {
                return GetView142();
            }
            if ((index == 143))
            {
                return GetView143();
            }
            if ((index == 144))
            {
                return GetView144();
            }
            if ((index == 145))
            {
                return GetView145();
            }
            if ((index == 146))
            {
                return GetView146();
            }
            if ((index == 147))
            {
                return GetView147();
            }
            if ((index == 148))
            {
                return GetView148();
            }
            if ((index == 149))
            {
                return GetView149();
            }
            if ((index == 150))
            {
                return GetView150();
            }
            if ((index == 151))
            {
                return GetView151();
            }
            if ((index == 152))
            {
                return GetView152();
            }
            if ((index == 153))
            {
                return GetView153();
            }
            if ((index == 154))
            {
                return GetView154();
            }
            if ((index == 155))
            {
                return GetView155();
            }
            if ((index == 156))
            {
                return GetView156();
            }
            if ((index == 157))
            {
                return GetView157();
            }
            if ((index == 158))
            {
                return GetView158();
            }
            if ((index == 159))
            {
                return GetView159();
            }
            if ((index == 160))
            {
                return GetView160();
            }
            throw new System.IndexOutOfRangeException();
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.USERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView0()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3012);
            viewString.Append("\r\n    SELECT VALUE -- Constructing USERS\r\n        [DominicaModel.Store.USERS](T1");
            viewString.Append(".USERS_Id, T1.USERS_LastName, T1.USERS_FirstName, T1.USERS_UserName, T1.USERS_Sc");
            viewString.Append("reenName, T1.USERS_Address1, T1.USERS_Address2, T1.USERS_City, T1.USERS_State, T");
            viewString.Append("1.USERS_Zipcode, T1.USERS_HomePhone, T1.USERS_SSN, T1.USERS_Birthdate, T1.USERS_");
            viewString.Append("HiredDate, T1.USERS_Sex, T1.USERS_LoginBohPassword, T1.USERS_LoginKeyPassword, T");
            viewString.Append("1.USERS_LoginMagPassword, T1.USERS_IsTerminated, T1.USERS_OldBohPassword1, T1.US");
            viewString.Append("ERS_OldBohPassword2, T1.USERS_OldBohPassword3, T1.USERS_OldBohPassword4, T1.USER");
            viewString.Append("S_BohPasswordDate, T1.USERS_BohPasswordAttempts, T1.USERS_BohSecretQuestion, T1.");
            viewString.Append("USERS_BohSecretAnswer, T1.USERS_EmailAddress, T1.USERS_BohLockoutDate, T1.USERS_");
            viewString.Append("ExternalPayrollId, T1.USERS_TerminationDate, T1.USERS_Country, T1.USERS_MobilePh");
            viewString.Append("one, T1.USERS_FingerPasswordId, T1.USERS_AltPhone, T1.USERS_EmployeeNumber, T1.U");
            viewString.Append("SERS_RatingNumber, T1.USERS_MiddleName, T1.USERS_IsTraining)\r\n    FROM (\r\n      ");
            viewString.Append("  SELECT \r\n            T.Id AS USERS_Id, \r\n            T.LastName AS USERS_LastN");
            viewString.Append("ame, \r\n            T.FirstName AS USERS_FirstName, \r\n            T.UserName AS U");
            viewString.Append("SERS_UserName, \r\n            T.ScreenName AS USERS_ScreenName, \r\n            T.A");
            viewString.Append("ddress1 AS USERS_Address1, \r\n            T.Address2 AS USERS_Address2, \r\n       ");
            viewString.Append("     T.City AS USERS_City, \r\n            T.State AS USERS_State, \r\n            T");
            viewString.Append(".Zipcode AS USERS_Zipcode, \r\n            T.HomePhone AS USERS_HomePhone, \r\n     ");
            viewString.Append("       T.SSN AS USERS_SSN, \r\n            T.Birthdate AS USERS_Birthdate, \r\n     ");
            viewString.Append("       T.HiredDate AS USERS_HiredDate, \r\n            T.Sex AS USERS_Sex, \r\n     ");
            viewString.Append("       T.LoginBohPassword AS USERS_LoginBohPassword, \r\n            T.LoginKeyPas");
            viewString.Append("sword AS USERS_LoginKeyPassword, \r\n            T.LoginMagPassword AS USERS_Login");
            viewString.Append("MagPassword, \r\n            T.IsTerminated AS USERS_IsTerminated, \r\n            T");
            viewString.Append(".OldBohPassword1 AS USERS_OldBohPassword1, \r\n            T.OldBohPassword2 AS US");
            viewString.Append("ERS_OldBohPassword2, \r\n            T.OldBohPassword3 AS USERS_OldBohPassword3, \r");
            viewString.Append("\n            T.OldBohPassword4 AS USERS_OldBohPassword4, \r\n            T.BohPass");
            viewString.Append("wordDate AS USERS_BohPasswordDate, \r\n            T.BohPasswordAttempts AS USERS_");
            viewString.Append("BohPasswordAttempts, \r\n            T.BohSecretQuestion AS USERS_BohSecretQuestio");
            viewString.Append("n, \r\n            T.BohSecretAnswer AS USERS_BohSecretAnswer, \r\n            T.Ema");
            viewString.Append("ilAddress AS USERS_EmailAddress, \r\n            T.BohLockoutDate AS USERS_BohLock");
            viewString.Append("outDate, \r\n            T.ExternalPayrollId AS USERS_ExternalPayrollId, \r\n       ");
            viewString.Append("     T.TerminationDate AS USERS_TerminationDate, \r\n            T.Country AS USER");
            viewString.Append("S_Country, \r\n            T.MobilePhone AS USERS_MobilePhone, \r\n            T.Fin");
            viewString.Append("gerPasswordId AS USERS_FingerPasswordId, \r\n            T.AltPhone AS USERS_AltPh");
            viewString.Append("one, \r\n            T.EmployeeNumber AS USERS_EmployeeNumber, \r\n            T.Rat");
            viewString.Append("ingNumber AS USERS_RatingNumber, \r\n            T.MiddleName AS USERS_MiddleName,");
            viewString.Append(" \r\n            T.IsTraining AS USERS_IsTraining, \r\n            True AS _from0\r\n ");
            viewString.Append("       FROM DominicaEntities.USERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.USERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.JOB_CODES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView1()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2502);
            viewString.Append("\r\n    SELECT VALUE -- Constructing JOB_CODES\r\n        [DominicaModel.Store.JOB_C");
            viewString.Append("ODES](T1.[JOB_CODES.Id], T1.[JOB_CODES.Name], T1.[JOB_CODES.IsBarTender], T1.[JO");
            viewString.Append("B_CODES.IsDeliveryDriver], T1.[JOB_CODES.IsDeleted], T1.[JOB_CODES.IsCashier], T");
            viewString.Append("1.[JOB_CODES.IsHost], T1.[JOB_CODES.IsManager], T1.[JOB_CODES.IsCook], T1.[JOB_C");
            viewString.Append("ODES.IsRetail], T1.[JOB_CODES.IsWaiter], T1.[JOB_CODES.IsValet], T1.[JOB_CODES.G");
            viewString.Append("rowthBool_1], T1.[JOB_CODES.GrowthBool_2], T1.[JOB_CODES.GrowthBool_3], T1.[JOB_");
            viewString.Append("CODES.GrowthBool_4], T1.[JOB_CODES.GrowthBool_5], T1.[JOB_CODES.GrowthBool_6], T");
            viewString.Append("1.[JOB_CODES.GrowthBool_7], T1.[JOB_CODES.GrowthBool_8], T1.[JOB_CODES.GrowthBoo");
            viewString.Append("l_10], T1.[JOB_CODES.GrowthBool_9], T1.[JOB_CODES.GrowthBool_11], T1.[JOB_CODES.");
            viewString.Append("GrowthBool_12], T1.[JOB_CODES.GrowthBool_13], T1.[JOB_CODES.GrowthBool_14], T1.[");
            viewString.Append("JOB_CODES.GrowthBool_15], T1.[JOB_CODES.IsSalaried])\r\n    FROM (\r\n        SELECT");
            viewString.Append(" \r\n            T.Id AS [JOB_CODES.Id], \r\n            T.Name AS [JOB_CODES.Name],");
            viewString.Append(" \r\n            T.IsBarTender AS [JOB_CODES.IsBarTender], \r\n            T.IsDeliv");
            viewString.Append("eryDriver AS [JOB_CODES.IsDeliveryDriver], \r\n            T.IsDeleted AS [JOB_COD");
            viewString.Append("ES.IsDeleted], \r\n            T.IsCashier AS [JOB_CODES.IsCashier], \r\n           ");
            viewString.Append(" T.IsHost AS [JOB_CODES.IsHost], \r\n            T.IsManager AS [JOB_CODES.IsManag");
            viewString.Append("er], \r\n            T.IsCook AS [JOB_CODES.IsCook], \r\n            T.IsRetail AS [");
            viewString.Append("JOB_CODES.IsRetail], \r\n            T.IsWaiter AS [JOB_CODES.IsWaiter], \r\n       ");
            viewString.Append("     T.IsValet AS [JOB_CODES.IsValet], \r\n            T.GrowthBool_1 AS [JOB_CODE");
            viewString.Append("S.GrowthBool_1], \r\n            T.GrowthBool_2 AS [JOB_CODES.GrowthBool_2], \r\n   ");
            viewString.Append("         T.GrowthBool_3 AS [JOB_CODES.GrowthBool_3], \r\n            T.GrowthBool_");
            viewString.Append("4 AS [JOB_CODES.GrowthBool_4], \r\n            T.GrowthBool_5 AS [JOB_CODES.Growth");
            viewString.Append("Bool_5], \r\n            T.GrowthBool_6 AS [JOB_CODES.GrowthBool_6], \r\n           ");
            viewString.Append(" T.GrowthBool_7 AS [JOB_CODES.GrowthBool_7], \r\n            T.GrowthBool_8 AS [JO");
            viewString.Append("B_CODES.GrowthBool_8], \r\n            T.GrowthBool_10 AS [JOB_CODES.GrowthBool_10");
            viewString.Append("], \r\n            T.GrowthBool_9 AS [JOB_CODES.GrowthBool_9], \r\n            T.Gro");
            viewString.Append("wthBool_11 AS [JOB_CODES.GrowthBool_11], \r\n            T.GrowthBool_12 AS [JOB_C");
            viewString.Append("ODES.GrowthBool_12], \r\n            T.GrowthBool_13 AS [JOB_CODES.GrowthBool_13],");
            viewString.Append(" \r\n            T.GrowthBool_14 AS [JOB_CODES.GrowthBool_14], \r\n            T.Gro");
            viewString.Append("wthBool_15 AS [JOB_CODES.GrowthBool_15], \r\n            T.IsSalaried AS [JOB_CODE");
            viewString.Append("S.IsSalaried], \r\n            True AS _from0\r\n        FROM DominicaEntities.JOB_C");
            viewString.Append("ODES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.JOB_CODES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ACCESS_LEVELS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView2()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(4143);
            viewString.Append("\r\n    SELECT VALUE -- Constructing ACCESS_LEVELS\r\n        [DominicaModel.Store.A");
            viewString.Append("CCESS_LEVELS](T1.[ACCESS_LEVELS.Id], T1.[ACCESS_LEVELS.CanViewReports], T1.[ACCE");
            viewString.Append("SS_LEVELS.Name], T1.[ACCESS_LEVELS.CanApplyCompToItem], T1.[ACCESS_LEVELS.IsDele");
            viewString.Append("ted], T1.[ACCESS_LEVELS.CanOrder], T1.[ACCESS_LEVELS.CanAccessSystemConfig], T1.");
            viewString.Append("[ACCESS_LEVELS.CanSetMagStripe], T1.[ACCESS_LEVELS.RequireMagcardLogin], T1.[ACC");
            viewString.Append("ESS_LEVELS.CanCaptureElectronicPayments], T1.[ACCESS_LEVELS.CanSearchAllPayments");
            viewString.Append("], T1.[ACCESS_LEVELS.CanTransferOrder], T1.[ACCESS_LEVELS.GrowthBool_1], T1.[ACC");
            viewString.Append("ESS_LEVELS.GrowthBool_2], T1.[ACCESS_LEVELS.GrowthBool_3], T1.[ACCESS_LEVELS.Can");
            viewString.Append("ApplyAdditionalSurcharge], T1.[ACCESS_LEVELS.CanNoSale], T1.[ACCESS_LEVELS.Growt");
            viewString.Append("hBool_4], T1.[ACCESS_LEVELS.GrowthBool_5], T1.[ACCESS_LEVELS.GrowthBool_6], T1.[");
            viewString.Append("ACCESS_LEVELS.GrowthBool_7], T1.[ACCESS_LEVELS.GrowthBool_8], T1.[ACCESS_LEVELS.");
            viewString.Append("GrowthBool_9], T1.[ACCESS_LEVELS.GrowthBool_10], T1.[ACCESS_LEVELS.GrowthBool_11");
            viewString.Append("], T1.[ACCESS_LEVELS.GrowthBool_12], T1.[ACCESS_LEVELS.GrowthBool_13], T1.[ACCES");
            viewString.Append("S_LEVELS.GrowthBool_14], T1.[ACCESS_LEVELS.GrowthBool_15], T1.[ACCESS_LEVELS.Can");
            viewString.Append("ReopenOrder], T1.[ACCESS_LEVELS.CanSeeOtherUsersOrders], T1.[ACCESS_LEVELS.CanCl");
            viewString.Append("oseHouse], T1.[ACCESS_LEVELS.CanBatchPayments], T1.[ACCESS_LEVELS.CanPromoCheck]");
            viewString.Append(", T1.[ACCESS_LEVELS.CanApplyVoidToItem], T1.[ACCESS_LEVELS.CanVoidPayment], T1.[");
            viewString.Append("ACCESS_LEVELS.CanApplyHousePayment], T1.[ACCESS_LEVELS.CanPayIn], T1.[ACCESS_LEV");
            viewString.Append("ELS.CanPayOut])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [ACCESS_LEVELS");
            viewString.Append(".Id], \r\n            T.CanViewReports AS [ACCESS_LEVELS.CanViewReports], \r\n      ");
            viewString.Append("      T.Name AS [ACCESS_LEVELS.Name], \r\n            T.CanApplyCompToItem AS [ACC");
            viewString.Append("ESS_LEVELS.CanApplyCompToItem], \r\n            T.IsDeleted AS [ACCESS_LEVELS.IsDe");
            viewString.Append("leted], \r\n            T.CanOrder AS [ACCESS_LEVELS.CanOrder], \r\n            T.Ca");
            viewString.Append("nAccessSystemConfig AS [ACCESS_LEVELS.CanAccessSystemConfig], \r\n            T.Ca");
            viewString.Append("nSetMagStripe AS [ACCESS_LEVELS.CanSetMagStripe], \r\n            T.RequireMagcard");
            viewString.Append("Login AS [ACCESS_LEVELS.RequireMagcardLogin], \r\n            T.CanCaptureElectron");
            viewString.Append("icPayments AS [ACCESS_LEVELS.CanCaptureElectronicPayments], \r\n            T.CanS");
            viewString.Append("earchAllPayments AS [ACCESS_LEVELS.CanSearchAllPayments], \r\n            T.CanTra");
            viewString.Append("nsferOrder AS [ACCESS_LEVELS.CanTransferOrder], \r\n            T.GrowthBool_1 AS ");
            viewString.Append("[ACCESS_LEVELS.GrowthBool_1], \r\n            T.GrowthBool_2 AS [ACCESS_LEVELS.Gro");
            viewString.Append("wthBool_2], \r\n            T.GrowthBool_3 AS [ACCESS_LEVELS.GrowthBool_3], \r\n    ");
            viewString.Append("        T.CanApplyAdditionalSurcharge AS [ACCESS_LEVELS.CanApplyAdditionalSurcha");
            viewString.Append("rge], \r\n            T.CanNoSale AS [ACCESS_LEVELS.CanNoSale], \r\n            T.Gr");
            viewString.Append("owthBool_4 AS [ACCESS_LEVELS.GrowthBool_4], \r\n            T.GrowthBool_5 AS [ACC");
            viewString.Append("ESS_LEVELS.GrowthBool_5], \r\n            T.GrowthBool_6 AS [ACCESS_LEVELS.GrowthB");
            viewString.Append("ool_6], \r\n            T.GrowthBool_7 AS [ACCESS_LEVELS.GrowthBool_7], \r\n        ");
            viewString.Append("    T.GrowthBool_8 AS [ACCESS_LEVELS.GrowthBool_8], \r\n            T.GrowthBool_9");
            viewString.Append(" AS [ACCESS_LEVELS.GrowthBool_9], \r\n            T.GrowthBool_10 AS [ACCESS_LEVEL");
            viewString.Append("S.GrowthBool_10], \r\n            T.GrowthBool_11 AS [ACCESS_LEVELS.GrowthBool_11]");
            viewString.Append(", \r\n            T.GrowthBool_12 AS [ACCESS_LEVELS.GrowthBool_12], \r\n            ");
            viewString.Append("T.GrowthBool_13 AS [ACCESS_LEVELS.GrowthBool_13], \r\n            T.GrowthBool_14 ");
            viewString.Append("AS [ACCESS_LEVELS.GrowthBool_14], \r\n            T.GrowthBool_15 AS [ACCESS_LEVEL");
            viewString.Append("S.GrowthBool_15], \r\n            T.CanReopenOrder AS [ACCESS_LEVELS.CanReopenOrde");
            viewString.Append("r], \r\n            T.CanSeeOtherUsersOrders AS [ACCESS_LEVELS.CanSeeOtherUsersOrd");
            viewString.Append("ers], \r\n            T.CanCloseHouse AS [ACCESS_LEVELS.CanCloseHouse], \r\n        ");
            viewString.Append("    T.CanBatchPayments AS [ACCESS_LEVELS.CanBatchPayments], \r\n            T.CanP");
            viewString.Append("romoCheck AS [ACCESS_LEVELS.CanPromoCheck], \r\n            T.CanApplyVoidToItem A");
            viewString.Append("S [ACCESS_LEVELS.CanApplyVoidToItem], \r\n            T.CanVoidPayment AS [ACCESS_");
            viewString.Append("LEVELS.CanVoidPayment], \r\n            T.CanApplyHousePayment AS [ACCESS_LEVELS.C");
            viewString.Append("anApplyHousePayment], \r\n            T.CanPayIn AS [ACCESS_LEVELS.CanPayIn], \r\n  ");
            viewString.Append("          T.CanPayOut AS [ACCESS_LEVELS.CanPayOut], \r\n            True AS _from0");
            viewString.Append("\r\n        FROM DominicaEntities.ACCESS_LEVELS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ACCESS_LEVELS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PAYGRADES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView3()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PAYGRADES", @"
    SELECT VALUE -- Constructing PAYGRADES
        [DominicaModel.Store.PAYGRADES](T1.PAYGRADES_Id, T1.PAYGRADES_WageRate, T1.PAYGRADES_TipTaxRate, T1.PAYGRADES_IsDeleted, T1.PAYGRADES_IsSalaried, T1.PAYGRADES_OTAppliedByDayHours, T1.PAYGRADES_WageRateOnOverTime, T1.PAYGRADES_BreaksArePaid, T1.PAYGRADES_OTHoursThreshold, T1.PAYGRADES_IsEligibleForOvertimePay, T1.PAYGRADES_Name)
    FROM (
        SELECT 
            T.Id AS PAYGRADES_Id, 
            T.WageRate AS PAYGRADES_WageRate, 
            T.TipTaxRate AS PAYGRADES_TipTaxRate, 
            T.IsDeleted AS PAYGRADES_IsDeleted, 
            T.IsSalaried AS PAYGRADES_IsSalaried, 
            T.OTAppliedByDayHours AS PAYGRADES_OTAppliedByDayHours, 
            T.WageRateOnOverTime AS PAYGRADES_WageRateOnOverTime, 
            T.BreaksArePaid AS PAYGRADES_BreaksArePaid, 
            T.OTHoursThreshold AS PAYGRADES_OTHoursThreshold, 
            T.IsEligibleForOvertimePay AS PAYGRADES_IsEligibleForOvertimePay, 
            T.Name AS PAYGRADES_Name, 
            True AS _from0
        FROM DominicaEntities.PAYGRADES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ROLES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView4()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ROLES", @"
    SELECT VALUE -- Constructing ROLES
        [DominicaModel.Store.ROLES](T1.ROLES_Id, T1.ROLES_NavJobCodeId, T1.ROLES_NavAccessLevelId, T1.ROLES_UserId, T1.ROLES_NavPaygradeId, T1.ROLES_Name, T1.ROLES_IsDeleted, T1.ROLES_IsPrimary)
    FROM (
        SELECT 
            T.Id AS ROLES_Id, 
            T.NavJobCodeId AS ROLES_NavJobCodeId, 
            T.NavAccessLevelId AS ROLES_NavAccessLevelId, 
            T.UserId AS ROLES_UserId, 
            T.NavPaygradeId AS ROLES_NavPaygradeId, 
            T.Name AS ROLES_Name, 
            T.IsDeleted AS ROLES_IsDeleted, 
            T.IsPrimary AS ROLES_IsPrimary, 
            True AS _from0
        FROM DominicaEntities.ROLES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.USERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView5()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2938);
            viewString.Append("\r\n    SELECT VALUE -- Constructing USERS\r\n        [DominicaModel.USER](T1.USER_I");
            viewString.Append("d, T1.USER_LastName, T1.USER_FirstName, T1.USER_UserName, T1.USER_ScreenName, T1");
            viewString.Append(".USER_Address1, T1.USER_Address2, T1.USER_City, T1.USER_State, T1.USER_Zipcode, ");
            viewString.Append("T1.USER_HomePhone, T1.USER_SSN, T1.USER_Birthdate, T1.USER_HiredDate, T1.USER_Se");
            viewString.Append("x, T1.USER_LoginBohPassword, T1.USER_LoginKeyPassword, T1.USER_LoginMagPassword,");
            viewString.Append(" T1.USER_IsTerminated, T1.USER_OldBohPassword1, T1.USER_OldBohPassword2, T1.USER");
            viewString.Append("_OldBohPassword3, T1.USER_OldBohPassword4, T1.USER_BohPasswordDate, T1.USER_BohP");
            viewString.Append("asswordAttempts, T1.USER_BohSecretQuestion, T1.USER_BohSecretAnswer, T1.USER_Ema");
            viewString.Append("ilAddress, T1.USER_BohLockoutDate, T1.USER_ExternalPayrollId, T1.USER_Terminatio");
            viewString.Append("nDate, T1.USER_Country, T1.USER_MobilePhone, T1.USER_FingerPasswordId, T1.USER_A");
            viewString.Append("ltPhone, T1.USER_EmployeeNumber, T1.USER_RatingNumber, T1.USER_MiddleName, T1.US");
            viewString.Append("ER_IsTraining)\r\n    FROM (\r\n        SELECT \r\n            T.Id AS USER_Id, \r\n    ");
            viewString.Append("        T.LastName AS USER_LastName, \r\n            T.FirstName AS USER_FirstName");
            viewString.Append(", \r\n            T.UserName AS USER_UserName, \r\n            T.ScreenName AS USER_");
            viewString.Append("ScreenName, \r\n            T.Address1 AS USER_Address1, \r\n            T.Address2 ");
            viewString.Append("AS USER_Address2, \r\n            T.City AS USER_City, \r\n            T.State AS US");
            viewString.Append("ER_State, \r\n            T.Zipcode AS USER_Zipcode, \r\n            T.HomePhone AS ");
            viewString.Append("USER_HomePhone, \r\n            T.SSN AS USER_SSN, \r\n            T.Birthdate AS US");
            viewString.Append("ER_Birthdate, \r\n            T.HiredDate AS USER_HiredDate, \r\n            T.Sex A");
            viewString.Append("S USER_Sex, \r\n            T.LoginBohPassword AS USER_LoginBohPassword, \r\n       ");
            viewString.Append("     T.LoginKeyPassword AS USER_LoginKeyPassword, \r\n            T.LoginMagPasswo");
            viewString.Append("rd AS USER_LoginMagPassword, \r\n            T.IsTerminated AS USER_IsTerminated, ");
            viewString.Append("\r\n            T.OldBohPassword1 AS USER_OldBohPassword1, \r\n            T.OldBohP");
            viewString.Append("assword2 AS USER_OldBohPassword2, \r\n            T.OldBohPassword3 AS USER_OldBoh");
            viewString.Append("Password3, \r\n            T.OldBohPassword4 AS USER_OldBohPassword4, \r\n          ");
            viewString.Append("  T.BohPasswordDate AS USER_BohPasswordDate, \r\n            T.BohPasswordAttempts");
            viewString.Append(" AS USER_BohPasswordAttempts, \r\n            T.BohSecretQuestion AS USER_BohSecre");
            viewString.Append("tQuestion, \r\n            T.BohSecretAnswer AS USER_BohSecretAnswer, \r\n          ");
            viewString.Append("  T.EmailAddress AS USER_EmailAddress, \r\n            T.BohLockoutDate AS USER_Bo");
            viewString.Append("hLockoutDate, \r\n            T.ExternalPayrollId AS USER_ExternalPayrollId, \r\n   ");
            viewString.Append("         T.TerminationDate AS USER_TerminationDate, \r\n            T.Country AS U");
            viewString.Append("SER_Country, \r\n            T.MobilePhone AS USER_MobilePhone, \r\n            T.Fi");
            viewString.Append("ngerPasswordId AS USER_FingerPasswordId, \r\n            T.AltPhone AS USER_AltPho");
            viewString.Append("ne, \r\n            T.EmployeeNumber AS USER_EmployeeNumber, \r\n            T.Ratin");
            viewString.Append("gNumber AS USER_RatingNumber, \r\n            T.MiddleName AS USER_MiddleName, \r\n ");
            viewString.Append("           T.IsTraining AS USER_IsTraining, \r\n            True AS _from0\r\n      ");
            viewString.Append("  FROM DominicaModelStoreContainer.USERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.USERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.JOB_CODES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView6()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2450);
            viewString.Append("\r\n    SELECT VALUE -- Constructing JOB_CODES\r\n        [DominicaModel.JOB_CODE](T");
            viewString.Append("1.[JOB_CODE.Id], T1.[JOB_CODE.Name], T1.[JOB_CODE.IsBarTender], T1.[JOB_CODE.IsD");
            viewString.Append("eliveryDriver], T1.[JOB_CODE.IsDeleted], T1.[JOB_CODE.IsCashier], T1.[JOB_CODE.I");
            viewString.Append("sHost], T1.[JOB_CODE.IsManager], T1.[JOB_CODE.IsCook], T1.[JOB_CODE.IsRetail], T");
            viewString.Append("1.[JOB_CODE.IsWaiter], T1.[JOB_CODE.IsValet], T1.[JOB_CODE.GrowthBool_1], T1.[JO");
            viewString.Append("B_CODE.GrowthBool_2], T1.[JOB_CODE.GrowthBool_3], T1.[JOB_CODE.GrowthBool_4], T1");
            viewString.Append(".[JOB_CODE.GrowthBool_5], T1.[JOB_CODE.GrowthBool_6], T1.[JOB_CODE.GrowthBool_7]");
            viewString.Append(", T1.[JOB_CODE.GrowthBool_8], T1.[JOB_CODE.GrowthBool_10], T1.[JOB_CODE.GrowthBo");
            viewString.Append("ol_9], T1.[JOB_CODE.GrowthBool_11], T1.[JOB_CODE.GrowthBool_12], T1.[JOB_CODE.Gr");
            viewString.Append("owthBool_13], T1.[JOB_CODE.GrowthBool_14], T1.[JOB_CODE.GrowthBool_15], T1.[JOB_");
            viewString.Append("CODE.IsSalaried])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [JOB_CODE.Id");
            viewString.Append("], \r\n            T.Name AS [JOB_CODE.Name], \r\n            T.IsBarTender AS [JOB_");
            viewString.Append("CODE.IsBarTender], \r\n            T.IsDeliveryDriver AS [JOB_CODE.IsDeliveryDrive");
            viewString.Append("r], \r\n            T.IsDeleted AS [JOB_CODE.IsDeleted], \r\n            T.IsCashier");
            viewString.Append(" AS [JOB_CODE.IsCashier], \r\n            T.IsHost AS [JOB_CODE.IsHost], \r\n       ");
            viewString.Append("     T.IsManager AS [JOB_CODE.IsManager], \r\n            T.IsCook AS [JOB_CODE.Is");
            viewString.Append("Cook], \r\n            T.IsRetail AS [JOB_CODE.IsRetail], \r\n            T.IsWaiter");
            viewString.Append(" AS [JOB_CODE.IsWaiter], \r\n            T.IsValet AS [JOB_CODE.IsValet], \r\n      ");
            viewString.Append("      T.GrowthBool_1 AS [JOB_CODE.GrowthBool_1], \r\n            T.GrowthBool_2 AS");
            viewString.Append(" [JOB_CODE.GrowthBool_2], \r\n            T.GrowthBool_3 AS [JOB_CODE.GrowthBool_3");
            viewString.Append("], \r\n            T.GrowthBool_4 AS [JOB_CODE.GrowthBool_4], \r\n            T.Grow");
            viewString.Append("thBool_5 AS [JOB_CODE.GrowthBool_5], \r\n            T.GrowthBool_6 AS [JOB_CODE.G");
            viewString.Append("rowthBool_6], \r\n            T.GrowthBool_7 AS [JOB_CODE.GrowthBool_7], \r\n       ");
            viewString.Append("     T.GrowthBool_8 AS [JOB_CODE.GrowthBool_8], \r\n            T.GrowthBool_10 AS");
            viewString.Append(" [JOB_CODE.GrowthBool_10], \r\n            T.GrowthBool_9 AS [JOB_CODE.GrowthBool_");
            viewString.Append("9], \r\n            T.GrowthBool_11 AS [JOB_CODE.GrowthBool_11], \r\n            T.G");
            viewString.Append("rowthBool_12 AS [JOB_CODE.GrowthBool_12], \r\n            T.GrowthBool_13 AS [JOB_");
            viewString.Append("CODE.GrowthBool_13], \r\n            T.GrowthBool_14 AS [JOB_CODE.GrowthBool_14], ");
            viewString.Append("\r\n            T.GrowthBool_15 AS [JOB_CODE.GrowthBool_15], \r\n            T.IsSal");
            viewString.Append("aried AS [JOB_CODE.IsSalaried], \r\n            True AS _from0\r\n        FROM Domin");
            viewString.Append("icaModelStoreContainer.JOB_CODES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.JOB_CODES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ACCESS_LEVELS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView7()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(4069);
            viewString.Append("\r\n    SELECT VALUE -- Constructing ACCESS_LEVELS\r\n        [DominicaModel.ACCESS_");
            viewString.Append("LEVEL](T1.[ACCESS_LEVEL.Id], T1.[ACCESS_LEVEL.CanViewReports], T1.[ACCESS_LEVEL.");
            viewString.Append("Name], T1.[ACCESS_LEVEL.CanApplyCompToItem], T1.[ACCESS_LEVEL.IsDeleted], T1.[AC");
            viewString.Append("CESS_LEVEL.CanOrder], T1.[ACCESS_LEVEL.CanAccessSystemConfig], T1.[ACCESS_LEVEL.");
            viewString.Append("CanSetMagStripe], T1.[ACCESS_LEVEL.RequireMagcardLogin], T1.[ACCESS_LEVEL.CanCap");
            viewString.Append("tureElectronicPayments], T1.[ACCESS_LEVEL.CanSearchAllPayments], T1.[ACCESS_LEVE");
            viewString.Append("L.CanTransferOrder], T1.[ACCESS_LEVEL.GrowthBool_1], T1.[ACCESS_LEVEL.GrowthBool");
            viewString.Append("_2], T1.[ACCESS_LEVEL.GrowthBool_3], T1.[ACCESS_LEVEL.CanApplyAdditionalSurcharg");
            viewString.Append("e], T1.[ACCESS_LEVEL.CanNoSale], T1.[ACCESS_LEVEL.GrowthBool_4], T1.[ACCESS_LEVE");
            viewString.Append("L.GrowthBool_5], T1.[ACCESS_LEVEL.GrowthBool_6], T1.[ACCESS_LEVEL.GrowthBool_7],");
            viewString.Append(" T1.[ACCESS_LEVEL.GrowthBool_8], T1.[ACCESS_LEVEL.GrowthBool_9], T1.[ACCESS_LEVE");
            viewString.Append("L.GrowthBool_10], T1.[ACCESS_LEVEL.GrowthBool_11], T1.[ACCESS_LEVEL.GrowthBool_1");
            viewString.Append("2], T1.[ACCESS_LEVEL.GrowthBool_13], T1.[ACCESS_LEVEL.GrowthBool_14], T1.[ACCESS");
            viewString.Append("_LEVEL.GrowthBool_15], T1.[ACCESS_LEVEL.CanReopenOrder], T1.[ACCESS_LEVEL.CanSee");
            viewString.Append("OtherUsersOrders], T1.[ACCESS_LEVEL.CanCloseHouse], T1.[ACCESS_LEVEL.CanBatchPay");
            viewString.Append("ments], T1.[ACCESS_LEVEL.CanPromoCheck], T1.[ACCESS_LEVEL.CanApplyVoidToItem], T");
            viewString.Append("1.[ACCESS_LEVEL.CanVoidPayment], T1.[ACCESS_LEVEL.CanApplyHousePayment], T1.[ACC");
            viewString.Append("ESS_LEVEL.CanPayIn], T1.[ACCESS_LEVEL.CanPayOut])\r\n    FROM (\r\n        SELECT \r\n");
            viewString.Append("            T.Id AS [ACCESS_LEVEL.Id], \r\n            T.CanViewReports AS [ACCESS");
            viewString.Append("_LEVEL.CanViewReports], \r\n            T.Name AS [ACCESS_LEVEL.Name], \r\n         ");
            viewString.Append("   T.CanApplyCompToItem AS [ACCESS_LEVEL.CanApplyCompToItem], \r\n            T.Is");
            viewString.Append("Deleted AS [ACCESS_LEVEL.IsDeleted], \r\n            T.CanOrder AS [ACCESS_LEVEL.C");
            viewString.Append("anOrder], \r\n            T.CanAccessSystemConfig AS [ACCESS_LEVEL.CanAccessSystem");
            viewString.Append("Config], \r\n            T.CanSetMagStripe AS [ACCESS_LEVEL.CanSetMagStripe], \r\n  ");
            viewString.Append("          T.RequireMagcardLogin AS [ACCESS_LEVEL.RequireMagcardLogin], \r\n       ");
            viewString.Append("     T.CanCaptureElectronicPayments AS [ACCESS_LEVEL.CanCaptureElectronicPayment");
            viewString.Append("s], \r\n            T.CanSearchAllPayments AS [ACCESS_LEVEL.CanSearchAllPayments],");
            viewString.Append(" \r\n            T.CanTransferOrder AS [ACCESS_LEVEL.CanTransferOrder], \r\n        ");
            viewString.Append("    T.GrowthBool_1 AS [ACCESS_LEVEL.GrowthBool_1], \r\n            T.GrowthBool_2 ");
            viewString.Append("AS [ACCESS_LEVEL.GrowthBool_2], \r\n            T.GrowthBool_3 AS [ACCESS_LEVEL.Gr");
            viewString.Append("owthBool_3], \r\n            T.CanApplyAdditionalSurcharge AS [ACCESS_LEVEL.CanApp");
            viewString.Append("lyAdditionalSurcharge], \r\n            T.CanNoSale AS [ACCESS_LEVEL.CanNoSale], \r");
            viewString.Append("\n            T.GrowthBool_4 AS [ACCESS_LEVEL.GrowthBool_4], \r\n            T.Grow");
            viewString.Append("thBool_5 AS [ACCESS_LEVEL.GrowthBool_5], \r\n            T.GrowthBool_6 AS [ACCESS");
            viewString.Append("_LEVEL.GrowthBool_6], \r\n            T.GrowthBool_7 AS [ACCESS_LEVEL.GrowthBool_7");
            viewString.Append("], \r\n            T.GrowthBool_8 AS [ACCESS_LEVEL.GrowthBool_8], \r\n            T.");
            viewString.Append("GrowthBool_9 AS [ACCESS_LEVEL.GrowthBool_9], \r\n            T.GrowthBool_10 AS [A");
            viewString.Append("CCESS_LEVEL.GrowthBool_10], \r\n            T.GrowthBool_11 AS [ACCESS_LEVEL.Growt");
            viewString.Append("hBool_11], \r\n            T.GrowthBool_12 AS [ACCESS_LEVEL.GrowthBool_12], \r\n    ");
            viewString.Append("        T.GrowthBool_13 AS [ACCESS_LEVEL.GrowthBool_13], \r\n            T.GrowthB");
            viewString.Append("ool_14 AS [ACCESS_LEVEL.GrowthBool_14], \r\n            T.GrowthBool_15 AS [ACCESS");
            viewString.Append("_LEVEL.GrowthBool_15], \r\n            T.CanReopenOrder AS [ACCESS_LEVEL.CanReopen");
            viewString.Append("Order], \r\n            T.CanSeeOtherUsersOrders AS [ACCESS_LEVEL.CanSeeOtherUsers");
            viewString.Append("Orders], \r\n            T.CanCloseHouse AS [ACCESS_LEVEL.CanCloseHouse], \r\n      ");
            viewString.Append("      T.CanBatchPayments AS [ACCESS_LEVEL.CanBatchPayments], \r\n            T.Can");
            viewString.Append("PromoCheck AS [ACCESS_LEVEL.CanPromoCheck], \r\n            T.CanApplyVoidToItem A");
            viewString.Append("S [ACCESS_LEVEL.CanApplyVoidToItem], \r\n            T.CanVoidPayment AS [ACCESS_L");
            viewString.Append("EVEL.CanVoidPayment], \r\n            T.CanApplyHousePayment AS [ACCESS_LEVEL.CanA");
            viewString.Append("pplyHousePayment], \r\n            T.CanPayIn AS [ACCESS_LEVEL.CanPayIn], \r\n      ");
            viewString.Append("      T.CanPayOut AS [ACCESS_LEVEL.CanPayOut], \r\n            True AS _from0\r\n   ");
            viewString.Append("     FROM DominicaModelStoreContainer.ACCESS_LEVELS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ACCESS_LEVELS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PAYGRADES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView8()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PAYGRADES", @"
    SELECT VALUE -- Constructing PAYGRADES
        [DominicaModel.PAYGRADE](T1.PAYGRADE_Id, T1.PAYGRADE_WageRate, T1.PAYGRADE_TipTaxRate, T1.PAYGRADE_IsDeleted, T1.PAYGRADE_IsSalaried, T1.PAYGRADE_OTAppliedByDayHours, T1.PAYGRADE_WageRateOnOverTime, T1.PAYGRADE_BreaksArePaid, T1.PAYGRADE_OTHoursThreshold, T1.PAYGRADE_IsEligibleForOvertimePay, T1.PAYGRADE_Name)
    FROM (
        SELECT 
            T.Id AS PAYGRADE_Id, 
            T.WageRate AS PAYGRADE_WageRate, 
            T.TipTaxRate AS PAYGRADE_TipTaxRate, 
            T.IsDeleted AS PAYGRADE_IsDeleted, 
            T.IsSalaried AS PAYGRADE_IsSalaried, 
            T.OTAppliedByDayHours AS PAYGRADE_OTAppliedByDayHours, 
            T.WageRateOnOverTime AS PAYGRADE_WageRateOnOverTime, 
            T.BreaksArePaid AS PAYGRADE_BreaksArePaid, 
            T.OTHoursThreshold AS PAYGRADE_OTHoursThreshold, 
            T.IsEligibleForOvertimePay AS PAYGRADE_IsEligibleForOvertimePay, 
            T.Name AS PAYGRADE_Name, 
            True AS _from0
        FROM DominicaModelStoreContainer.PAYGRADES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ROLES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView9()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ROLES", @"
    SELECT VALUE -- Constructing ROLES
        [DominicaModel.ROLE](T1.ROLE_Id, T1.ROLE_NavJobCodeId, T1.ROLE_NavAccessLevelId, T1.ROLE_UserId, T1.ROLE_NavPaygradeId, T1.ROLE_Name, T1.ROLE_IsDeleted, T1.ROLE_IsPrimary)
    FROM (
        SELECT 
            T.Id AS ROLE_Id, 
            T.NavJobCodeId AS ROLE_NavJobCodeId, 
            T.NavAccessLevelId AS ROLE_NavAccessLevelId, 
            T.UserId AS ROLE_UserId, 
            T.NavPaygradeId AS ROLE_NavPaygradeId, 
            T.Name AS ROLE_Name, 
            T.IsDeleted AS ROLE_IsDeleted, 
            T.IsPrimary AS ROLE_IsPrimary, 
            True AS _from0
        FROM DominicaModelStoreContainer.ROLES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.MENUS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView10()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.MENUS", @"
    SELECT VALUE -- Constructing MENUS
        [DominicaModel.Store.MENUS](T1.MENUS_Name, T1.MENUS_Id, T1.MENUS_StartTime, T1.MENUS_EndTime, T1.MENUS_IsDeleted, T1.MENUS_OrderMenuItemsByWeight, T1.MENUS_DefaultSelectedProductGroupId, T1.MENUS_DaysToRunFlags)
    FROM (
        SELECT 
            T.Name AS MENUS_Name, 
            T.Id AS MENUS_Id, 
            T.StartTime AS MENUS_StartTime, 
            T.EndTime AS MENUS_EndTime, 
            T.IsDeleted AS MENUS_IsDeleted, 
            T.OrderMenuItemsByWeight AS MENUS_OrderMenuItemsByWeight, 
            T.DefaultSelectedProductGroupId AS MENUS_DefaultSelectedProductGroupId, 
            T.DaysToRunFlags AS MENUS_DaysToRunFlags, 
            True AS _from0
        FROM DominicaEntities.MENUS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PRODUCT_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView11()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PRODUCT_GROUPS", @"
    SELECT VALUE -- Constructing PRODUCT_GROUPS
        [DominicaModel.Store.PRODUCT_GROUPS](T1.[PRODUCT_GROUPS.Name], T1.[PRODUCT_GROUPS.Id], T1.[PRODUCT_GROUPS.IsDeleted], T1.[PRODUCT_GROUPS.MenuPosition], T1.[PRODUCT_GROUPS.CanDiscountGroup], T1.[PRODUCT_GROUPS.UseDriversAgeVerification], T1.[PRODUCT_GROUPS.ApplyGroupPrice], T1.[PRODUCT_GROUPS.GroupPrice], T1.[PRODUCT_GROUPS.OrderMenuItemsByWeight])
    FROM (
        SELECT 
            T.Name AS [PRODUCT_GROUPS.Name], 
            T.Id AS [PRODUCT_GROUPS.Id], 
            T.IsDeleted AS [PRODUCT_GROUPS.IsDeleted], 
            T.MenuPosition AS [PRODUCT_GROUPS.MenuPosition], 
            T.CanDiscountGroup AS [PRODUCT_GROUPS.CanDiscountGroup], 
            T.UseDriversAgeVerification AS [PRODUCT_GROUPS.UseDriversAgeVerification], 
            T.ApplyGroupPrice AS [PRODUCT_GROUPS.ApplyGroupPrice], 
            T.GroupPrice AS [PRODUCT_GROUPS.GroupPrice], 
            T.OrderMenuItemsByWeight AS [PRODUCT_GROUPS.OrderMenuItemsByWeight], 
            True AS _from0
        FROM DominicaEntities.PRODUCT_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.FORCED_MODIFIER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView12()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.FORCED_MODIFIER_GROUPS", @"
    SELECT VALUE -- Constructing FORCED_MODIFIER_GROUPS
        [DominicaModel.Store.FORCED_MODIFIER_GROUPS](T1.[FORCED_MODIFIER_GROUPS.Name], T1.[FORCED_MODIFIER_GROUPS.MaximumChoice], T1.[FORCED_MODIFIER_GROUPS.Id], T1.[FORCED_MODIFIER_GROUPS.ApplyGroupPrice], T1.[FORCED_MODIFIER_GROUPS.GroupPrice], T1.[FORCED_MODIFIER_GROUPS.IsDeleted], T1.[FORCED_MODIFIER_GROUPS.MenuPosition], T1.[FORCED_MODIFIER_GROUPS.MinimumChoice], T1.[FORCED_MODIFIER_GROUPS.ExceptionModOnForcedModGroupId], T1.[FORCED_MODIFIER_GROUPS.OrderMenuItemsByWeight])
    FROM (
        SELECT 
            T.Name AS [FORCED_MODIFIER_GROUPS.Name], 
            T.MaximumChoice AS [FORCED_MODIFIER_GROUPS.MaximumChoice], 
            T.Id AS [FORCED_MODIFIER_GROUPS.Id], 
            T.ApplyGroupPrice AS [FORCED_MODIFIER_GROUPS.ApplyGroupPrice], 
            T.GroupPrice AS [FORCED_MODIFIER_GROUPS.GroupPrice], 
            T.IsDeleted AS [FORCED_MODIFIER_GROUPS.IsDeleted], 
            T.MenuPosition AS [FORCED_MODIFIER_GROUPS.MenuPosition], 
            T.MinimumChoice AS [FORCED_MODIFIER_GROUPS.MinimumChoice], 
            T.ExceptionModOnForcedModGroupId AS [FORCED_MODIFIER_GROUPS.ExceptionModOnForcedModGroupId], 
            T.OrderMenuItemsByWeight AS [FORCED_MODIFIER_GROUPS.OrderMenuItemsByWeight], 
            True AS _from0
        FROM DominicaEntities.FORCED_MODIFIER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.EXCEPTION_MODIFIER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView13()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.EXCEPTION_MODIFIER_GROUPS", @"
    SELECT VALUE -- Constructing EXCEPTION_MODIFIER_GROUPS
        [DominicaModel.Store.EXCEPTION_MODIFIER_GROUPS](T1.[EXCEPTION_MODIFIER_GROUPS.Name], T1.[EXCEPTION_MODIFIER_GROUPS.Id], T1.[EXCEPTION_MODIFIER_GROUPS.ApplyGroupPrice], T1.[EXCEPTION_MODIFIER_GROUPS.GroupPrice], T1.[EXCEPTION_MODIFIER_GROUPS.IsDeleted], T1.[EXCEPTION_MODIFIER_GROUPS.MenuPosition], T1.[EXCEPTION_MODIFIER_GROUPS.ExceptionModOnExceptionModGroupId], T1.[EXCEPTION_MODIFIER_GROUPS.OrderMenuItemsByWeight])
    FROM (
        SELECT 
            T.Name AS [EXCEPTION_MODIFIER_GROUPS.Name], 
            T.Id AS [EXCEPTION_MODIFIER_GROUPS.Id], 
            T.ApplyGroupPrice AS [EXCEPTION_MODIFIER_GROUPS.ApplyGroupPrice], 
            T.GroupPrice AS [EXCEPTION_MODIFIER_GROUPS.GroupPrice], 
            T.IsDeleted AS [EXCEPTION_MODIFIER_GROUPS.IsDeleted], 
            T.MenuPosition AS [EXCEPTION_MODIFIER_GROUPS.MenuPosition], 
            T.ExceptionModOnExceptionModGroupId AS [EXCEPTION_MODIFIER_GROUPS.ExceptionModOnExceptionModGroupId], 
            T.OrderMenuItemsByWeight AS [EXCEPTION_MODIFIER_GROUPS.OrderMenuItemsByWeight], 
            True AS _from0
        FROM DominicaEntities.EXCEPTION_MODIFIER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PRICE_INTERVAL_DISCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView14()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PRICE_INTERVAL_DISCOUNTS", @"
    SELECT VALUE -- Constructing PRICE_INTERVAL_DISCOUNTS
        [DominicaModel.Store.PRICE_INTERVAL_DISCOUNTS](T1.[PRICE_INTERVAL_DISCOUNTS.Id], T1.[PRICE_INTERVAL_DISCOUNTS.AmountOrPercent], T1.[PRICE_INTERVAL_DISCOUNTS.StartTime], T1.[PRICE_INTERVAL_DISCOUNTS.EndTime], T1.[PRICE_INTERVAL_DISCOUNTS.IsDeleted], T1.[PRICE_INTERVAL_DISCOUNTS.IsPercentOff], T1.[PRICE_INTERVAL_DISCOUNTS.IsDollarsOff], T1.[PRICE_INTERVAL_DISCOUNTS.IsSpecifiedPrice], T1.[PRICE_INTERVAL_DISCOUNTS.Name])
    FROM (
        SELECT 
            T.Id AS [PRICE_INTERVAL_DISCOUNTS.Id], 
            T.AmountOrPercent AS [PRICE_INTERVAL_DISCOUNTS.AmountOrPercent], 
            T.StartTime AS [PRICE_INTERVAL_DISCOUNTS.StartTime], 
            T.EndTime AS [PRICE_INTERVAL_DISCOUNTS.EndTime], 
            T.IsDeleted AS [PRICE_INTERVAL_DISCOUNTS.IsDeleted], 
            T.IsPercentOff AS [PRICE_INTERVAL_DISCOUNTS.IsPercentOff], 
            T.IsDollarsOff AS [PRICE_INTERVAL_DISCOUNTS.IsDollarsOff], 
            T.IsSpecifiedPrice AS [PRICE_INTERVAL_DISCOUNTS.IsSpecifiedPrice], 
            T.Name AS [PRICE_INTERVAL_DISCOUNTS.Name], 
            True AS _from0
        FROM DominicaEntities.PRICE_INTERVAL_DISCOUNTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.KIOSKS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView15()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2556);
            viewString.Append("\r\n    SELECT VALUE -- Constructing KIOSKS\r\n        [DominicaModel.Store.KIOSKS](");
            viewString.Append("T1.KIOSKS_Name, T1.KIOSKS_NumberOfCashDrawers, T1.KIOSKS_Id, T1.KIOSKS_FirstCash");
            viewString.Append("DrawerNumber, T1.KIOSKS_OpenDrawerOnPay, T1.KIOSKS_IsDeleted, T1.KIOSKS_SystemCo");
            viewString.Append("mFlags, T1.KIOSKS_MagStripeDelay, T1.KIOSKS_CreateAutoSeats, T1.KIOSKS_RevenueCe");
            viewString.Append("nterId, T1.KIOSKS_ForceOrderProdId, T1.KIOSKS_MenuGroupId, T1.KIOSKS_ForceOrderP");
            viewString.Append("rodGroupId, T1.KIOSKS_LocalPrinterId, T1.KIOSKS_PrintItemizedReceiptOnPay, T1.KI");
            viewString.Append("OSKS_PrintCashReceiptOnPay, T1.KIOSKS_SwRevision, T1.KIOSKS_UseProductGroupPrint");
            viewString.Append("erMapping, T1.KIOSKS_Notes, T1.KIOSKS_Spare64, T1.KIOSKS_ForceCashDrop, T1.KIOSK");
            viewString.Append("S_ForceCashDropAmount, T1.KIOSKS_PrintCreditReceiptOnPay, T1.KIOSKS_PrintGiftRec");
            viewString.Append("eiptOnPay, T1.KIOSKS_NumberCashReceipts, T1.KIOSKS_NumberCreditReceipts, T1.KIOS");
            viewString.Append("KS_NumberGiftReceipts)\r\n    FROM (\r\n        SELECT \r\n            T.Name AS KIOSK");
            viewString.Append("S_Name, \r\n            T.NumberOfCashDrawers AS KIOSKS_NumberOfCashDrawers, \r\n   ");
            viewString.Append("         T.Id AS KIOSKS_Id, \r\n            T.FirstCashDrawerNumber AS KIOSKS_Firs");
            viewString.Append("tCashDrawerNumber, \r\n            T.OpenDrawerOnPay AS KIOSKS_OpenDrawerOnPay, \r\n");
            viewString.Append("            T.IsDeleted AS KIOSKS_IsDeleted, \r\n            T.SystemComFlags AS K");
            viewString.Append("IOSKS_SystemComFlags, \r\n            T.MagStripeDelay AS KIOSKS_MagStripeDelay, \r");
            viewString.Append("\n            T.CreateAutoSeats AS KIOSKS_CreateAutoSeats, \r\n            T.Revenu");
            viewString.Append("eCenterId AS KIOSKS_RevenueCenterId, \r\n            T.ForceOrderProdId AS KIOSKS_");
            viewString.Append("ForceOrderProdId, \r\n            T.MenuGroupId AS KIOSKS_MenuGroupId, \r\n         ");
            viewString.Append("   T.ForceOrderProdGroupId AS KIOSKS_ForceOrderProdGroupId, \r\n            T.Loca");
            viewString.Append("lPrinterId AS KIOSKS_LocalPrinterId, \r\n            T.PrintItemizedReceiptOnPay A");
            viewString.Append("S KIOSKS_PrintItemizedReceiptOnPay, \r\n            T.PrintCashReceiptOnPay AS KIO");
            viewString.Append("SKS_PrintCashReceiptOnPay, \r\n            T.SwRevision AS KIOSKS_SwRevision, \r\n  ");
            viewString.Append("          T.UseProductGroupPrinterMapping AS KIOSKS_UseProductGroupPrinterMappin");
            viewString.Append("g, \r\n            T.Notes AS KIOSKS_Notes, \r\n            T.Spare64 AS KIOSKS_Spar");
            viewString.Append("e64, \r\n            T.ForceCashDrop AS KIOSKS_ForceCashDrop, \r\n            T.Forc");
            viewString.Append("eCashDropAmount AS KIOSKS_ForceCashDropAmount, \r\n            T.PrintCreditReceip");
            viewString.Append("tOnPay AS KIOSKS_PrintCreditReceiptOnPay, \r\n            T.PrintGiftReceiptOnPay ");
            viewString.Append("AS KIOSKS_PrintGiftReceiptOnPay, \r\n            T.NumberCashReceipts AS KIOSKS_Nu");
            viewString.Append("mberCashReceipts, \r\n            T.NumberCreditReceipts AS KIOSKS_NumberCreditRec");
            viewString.Append("eipts, \r\n            T.NumberGiftReceipts AS KIOSKS_NumberGiftReceipts, \r\n      ");
            viewString.Append("      True AS _from0\r\n        FROM DominicaEntities.KIOSKS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.KIOSKS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView16()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS", @"
    SELECT VALUE -- Constructing MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS
        [DominicaModel.Store.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS](T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.Id], T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.NavKioskId], T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.NavProductGroupId], T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.NavPrinterGroupId])
    FROM (
        SELECT 
            T.Id AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.Id], 
            T.NavKioskId AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.NavKioskId], 
            T.NavProductGroupId AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.NavProductGroupId], 
            T.NavPrinterGroupId AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS.NavPrinterGroupId], 
            True AS _from0
        FROM DominicaEntities.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.MENU_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView17()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.MENU_GROUPS", @"
    SELECT VALUE -- Constructing MENU_GROUPS
        [DominicaModel.Store.MENU_GROUPS](T1.[MENU_GROUPS.Id], T1.[MENU_GROUPS.Name], T1.[MENU_GROUPS.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [MENU_GROUPS.Id], 
            T.Name AS [MENU_GROUPS.Name], 
            T.IsDeleted AS [MENU_GROUPS.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.MENU_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PRINTERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView18()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PRINTERS", @"
    SELECT VALUE -- Constructing PRINTERS
        [DominicaModel.Store.PRINTERS](T1.PRINTERS_Id, T1.PRINTERS_Name, T1.PRINTERS_IsDeleted, T1.PRINTERS_Path, T1.PRINTERS_Manufacturer, T1.PRINTERS_Model, T1.PRINTERS_IpAddress, T1.PRINTERS_IsProductGroupPrinter, T1.PRINTERS_PathToDevInfoFile, T1.PRINTERS_IsPCPrinter)
    FROM (
        SELECT 
            T.Id AS PRINTERS_Id, 
            T.Name AS PRINTERS_Name, 
            T.IsDeleted AS PRINTERS_IsDeleted, 
            T.Path AS PRINTERS_Path, 
            T.Manufacturer AS PRINTERS_Manufacturer, 
            T.Model AS PRINTERS_Model, 
            T.IpAddress AS PRINTERS_IpAddress, 
            T.IsProductGroupPrinter AS PRINTERS_IsProductGroupPrinter, 
            T.PathToDevInfoFile AS PRINTERS_PathToDevInfoFile, 
            T.IsPCPrinter AS PRINTERS_IsPCPrinter, 
            True AS _from0
        FROM DominicaEntities.PRINTERS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PRINTER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView19()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PRINTER_GROUPS", @"
    SELECT VALUE -- Constructing PRINTER_GROUPS
        [DominicaModel.Store.PRINTER_GROUPS](T1.[PRINTER_GROUPS.Id], T1.[PRINTER_GROUPS.IsDeleted], T1.[PRINTER_GROUPS.Name])
    FROM (
        SELECT 
            T.Id AS [PRINTER_GROUPS.Id], 
            T.IsDeleted AS [PRINTER_GROUPS.IsDeleted], 
            T.Name AS [PRINTER_GROUPS.Name], 
            True AS _from0
        FROM DominicaEntities.PRINTER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.AUTO_GRATUITYS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView20()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3173);
            viewString.Append("\r\n    SELECT VALUE -- Constructing AUTO_GRATUITYS\r\n        [DominicaModel.Store.");
            viewString.Append("AUTO_GRATUITYS](T1.[AUTO_GRATUITYS.Id], T1.[AUTO_GRATUITYS.AutoGratuityRate], T1");
            viewString.Append(".[AUTO_GRATUITYS.AutoGratuitySeatStartCount], T1.[AUTO_GRATUITYS.RunMonday], T1.");
            viewString.Append("[AUTO_GRATUITYS.RunTuesday], T1.[AUTO_GRATUITYS.RunWednesday], T1.[AUTO_GRATUITY");
            viewString.Append("S.RunThursday], T1.[AUTO_GRATUITYS.RunFriday], T1.[AUTO_GRATUITYS.RunSaturday], ");
            viewString.Append("T1.[AUTO_GRATUITYS.RunSunday], T1.[AUTO_GRATUITYS.Name], T1.[AUTO_GRATUITYS.Enab");
            viewString.Append("leAboveTicketAmount], T1.[AUTO_GRATUITYS.AboveTicketAmount], T1.[AUTO_GRATUITYS.");
            viewString.Append("MondayStartTime], T1.[AUTO_GRATUITYS.MondayEndTime], T1.[AUTO_GRATUITYS.TuesdayS");
            viewString.Append("tartTime], T1.[AUTO_GRATUITYS.TuesdayEndTime], T1.[AUTO_GRATUITYS.WednesdayStart");
            viewString.Append("Time], T1.[AUTO_GRATUITYS.WednesdayEndTime], T1.[AUTO_GRATUITYS.ThursdayStartTim");
            viewString.Append("e], T1.[AUTO_GRATUITYS.ThursdayEndTime], T1.[AUTO_GRATUITYS.FridayStartTime], T1");
            viewString.Append(".[AUTO_GRATUITYS.FridayEndTime], T1.[AUTO_GRATUITYS.SaturdayStartTime], T1.[AUTO");
            viewString.Append("_GRATUITYS.SaturdayEndTime], T1.[AUTO_GRATUITYS.SundayStartTime], T1.[AUTO_GRATU");
            viewString.Append("ITYS.SundayEndTime], T1.[AUTO_GRATUITYS.IsDeleted], T1.[AUTO_GRATUITYS.ApplyOnMe");
            viewString.Append("nuPrice])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [AUTO_GRATUITYS.Id],");
            viewString.Append(" \r\n            T.AutoGratuityRate AS [AUTO_GRATUITYS.AutoGratuityRate], \r\n      ");
            viewString.Append("      T.AutoGratuitySeatStartCount AS [AUTO_GRATUITYS.AutoGratuitySeatStartCount");
            viewString.Append("], \r\n            T.RunMonday AS [AUTO_GRATUITYS.RunMonday], \r\n            T.RunT");
            viewString.Append("uesday AS [AUTO_GRATUITYS.RunTuesday], \r\n            T.RunWednesday AS [AUTO_GRA");
            viewString.Append("TUITYS.RunWednesday], \r\n            T.RunThursday AS [AUTO_GRATUITYS.RunThursday");
            viewString.Append("], \r\n            T.RunFriday AS [AUTO_GRATUITYS.RunFriday], \r\n            T.RunS");
            viewString.Append("aturday AS [AUTO_GRATUITYS.RunSaturday], \r\n            T.RunSunday AS [AUTO_GRAT");
            viewString.Append("UITYS.RunSunday], \r\n            T.Name AS [AUTO_GRATUITYS.Name], \r\n            T");
            viewString.Append(".EnableAboveTicketAmount AS [AUTO_GRATUITYS.EnableAboveTicketAmount], \r\n        ");
            viewString.Append("    T.AboveTicketAmount AS [AUTO_GRATUITYS.AboveTicketAmount], \r\n            T.M");
            viewString.Append("ondayStartTime AS [AUTO_GRATUITYS.MondayStartTime], \r\n            T.MondayEndTim");
            viewString.Append("e AS [AUTO_GRATUITYS.MondayEndTime], \r\n            T.TuesdayStartTime AS [AUTO_G");
            viewString.Append("RATUITYS.TuesdayStartTime], \r\n            T.TuesdayEndTime AS [AUTO_GRATUITYS.Tu");
            viewString.Append("esdayEndTime], \r\n            T.WednesdayStartTime AS [AUTO_GRATUITYS.WednesdaySt");
            viewString.Append("artTime], \r\n            T.WednesdayEndTime AS [AUTO_GRATUITYS.WednesdayEndTime],");
            viewString.Append(" \r\n            T.ThursdayStartTime AS [AUTO_GRATUITYS.ThursdayStartTime], \r\n    ");
            viewString.Append("        T.ThursdayEndTime AS [AUTO_GRATUITYS.ThursdayEndTime], \r\n            T.F");
            viewString.Append("ridayStartTime AS [AUTO_GRATUITYS.FridayStartTime], \r\n            T.FridayEndTim");
            viewString.Append("e AS [AUTO_GRATUITYS.FridayEndTime], \r\n            T.SaturdayStartTime AS [AUTO_");
            viewString.Append("GRATUITYS.SaturdayStartTime], \r\n            T.SaturdayEndTime AS [AUTO_GRATUITYS");
            viewString.Append(".SaturdayEndTime], \r\n            T.SundayStartTime AS [AUTO_GRATUITYS.SundayStar");
            viewString.Append("tTime], \r\n            T.SundayEndTime AS [AUTO_GRATUITYS.SundayEndTime], \r\n     ");
            viewString.Append("       T.IsDeleted AS [AUTO_GRATUITYS.IsDeleted], \r\n            T.ApplyOnMenuPri");
            viewString.Append("ce AS [AUTO_GRATUITYS.ApplyOnMenuPrice], \r\n            True AS _from0\r\n        F");
            viewString.Append("ROM DominicaEntities.AUTO_GRATUITYS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.AUTO_GRATUITYS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.FORCED_MODIFIERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView21()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2343);
            viewString.Append("\r\n    SELECT VALUE -- Constructing FORCED_MODIFIERS\r\n        [DominicaModel.Stor");
            viewString.Append("e.FORCED_MODIFIERS](T1.[FORCED_MODIFIERS.Name], T1.[FORCED_MODIFIERS.Price], T1.");
            viewString.Append("[FORCED_MODIFIERS.Id], T1.[FORCED_MODIFIERS.IsDeleted], T1.[FORCED_MODIFIERS.Rem");
            viewString.Append("oveAtZeroCount], T1.[FORCED_MODIFIERS.Downtick], T1.[FORCED_MODIFIERS.SurchargeI");
            viewString.Append("d], T1.[FORCED_MODIFIERS.MenuPosition], T1.[FORCED_MODIFIERS.PLU], T1.[FORCED_MO");
            viewString.Append("DIFIERS.SKU], T1.[FORCED_MODIFIERS.DownTickSemaphoreIsLocked], T1.[FORCED_MODIFI");
            viewString.Append("ERS.RevenueTypeId], T1.[FORCED_MODIFIERS.OrderedRecipeId], T1.[FORCED_MODIFIERS.");
            viewString.Append("ExclusiveTaxRateId], T1.[FORCED_MODIFIERS.ProductGroupPrinterId], T1.[FORCED_MOD");
            viewString.Append("IFIERS.UPC], T1.[FORCED_MODIFIERS.LongName], T1.[FORCED_MODIFIERS.InclusiveTaxRa");
            viewString.Append("teId], T1.[FORCED_MODIFIERS.InclusiveTipRateId], T1.[FORCED_MODIFIERS.CalorieCou");
            viewString.Append("nt], T1.[FORCED_MODIFIERS.ForcedModGroupOnForcedModId])\r\n    FROM (\r\n        SEL");
            viewString.Append("ECT \r\n            T.Name AS [FORCED_MODIFIERS.Name], \r\n            T.Price AS [F");
            viewString.Append("ORCED_MODIFIERS.Price], \r\n            T.Id AS [FORCED_MODIFIERS.Id], \r\n         ");
            viewString.Append("   T.IsDeleted AS [FORCED_MODIFIERS.IsDeleted], \r\n            T.RemoveAtZeroCoun");
            viewString.Append("t AS [FORCED_MODIFIERS.RemoveAtZeroCount], \r\n            T.Downtick AS [FORCED_M");
            viewString.Append("ODIFIERS.Downtick], \r\n            T.SurchargeId AS [FORCED_MODIFIERS.SurchargeId");
            viewString.Append("], \r\n            T.MenuPosition AS [FORCED_MODIFIERS.MenuPosition], \r\n          ");
            viewString.Append("  T.PLU AS [FORCED_MODIFIERS.PLU], \r\n            T.SKU AS [FORCED_MODIFIERS.SKU]");
            viewString.Append(", \r\n            T.DownTickSemaphoreIsLocked AS [FORCED_MODIFIERS.DownTickSemapho");
            viewString.Append("reIsLocked], \r\n            T.RevenueTypeId AS [FORCED_MODIFIERS.RevenueTypeId], ");
            viewString.Append("\r\n            T.OrderedRecipeId AS [FORCED_MODIFIERS.OrderedRecipeId], \r\n       ");
            viewString.Append("     T.ExclusiveTaxRateId AS [FORCED_MODIFIERS.ExclusiveTaxRateId], \r\n          ");
            viewString.Append("  T.ProductGroupPrinterId AS [FORCED_MODIFIERS.ProductGroupPrinterId], \r\n       ");
            viewString.Append("     T.UPC AS [FORCED_MODIFIERS.UPC], \r\n            T.LongName AS [FORCED_MODIFI");
            viewString.Append("ERS.LongName], \r\n            T.InclusiveTaxRateId AS [FORCED_MODIFIERS.Inclusive");
            viewString.Append("TaxRateId], \r\n            T.InclusiveTipRateId AS [FORCED_MODIFIERS.InclusiveTip");
            viewString.Append("RateId], \r\n            T.CalorieCount AS [FORCED_MODIFIERS.CalorieCount], \r\n    ");
            viewString.Append("        T.ForcedModGroupOnForcedModId AS [FORCED_MODIFIERS.ForcedModGroupOnForce");
            viewString.Append("dModId], \r\n            True AS _from0\r\n        FROM DominicaEntities.FORCED_MODI");
            viewString.Append("FIERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.FORCED_MODIFIERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PRODUCTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView22()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2226);
            viewString.Append("\r\n    SELECT VALUE -- Constructing PRODUCTS\r\n        [DominicaModel.Store.PRODUC");
            viewString.Append("TS](T1.PRODUCTS_RevenueTypeId, T1.PRODUCTS_OrderedRecipeId, T1.PRODUCTS_Name, T1");
            viewString.Append(".PRODUCTS_Price, T1.PRODUCTS_Id, T1.PRODUCTS_IsDeleted, T1.PRODUCTS_RemoveAtZero");
            viewString.Append("Count, T1.PRODUCTS_Downtick, T1.PRODUCTS_SurchargeId, T1.PRODUCTS_MenuPosition, ");
            viewString.Append("T1.PRODUCTS_SKU, T1.PRODUCTS_PLU, T1.PRODUCTS_DownTickSemaphoreIsLocked, T1.PROD");
            viewString.Append("UCTS_ExclusiveTaxRateId, T1.PRODUCTS_ProductGroupPrinterId, T1.PRODUCTS_UPC, T1.");
            viewString.Append("PRODUCTS_LongName, T1.PRODUCTS_InclusiveTaxRateId, T1.PRODUCTS_InclusiveTipRateI");
            viewString.Append("d, T1.PRODUCTS_CalorieCount, T1.PRODUCTS_PromptForPrice, T1.PRODUCTS_IsGiftCard,");
            viewString.Append(" T1.PRODUCTS_PricePerUnitOfWeight, T1.PRODUCTS_UseWeightPricing, T1.PRODUCTS_Uni");
            viewString.Append("tOfWeightSize)\r\n    FROM (\r\n        SELECT \r\n            T.RevenueTypeId AS PROD");
            viewString.Append("UCTS_RevenueTypeId, \r\n            T.OrderedRecipeId AS PRODUCTS_OrderedRecipeId,");
            viewString.Append(" \r\n            T.Name AS PRODUCTS_Name, \r\n            T.Price AS PRODUCTS_Price,");
            viewString.Append(" \r\n            T.Id AS PRODUCTS_Id, \r\n            T.IsDeleted AS PRODUCTS_IsDele");
            viewString.Append("ted, \r\n            T.RemoveAtZeroCount AS PRODUCTS_RemoveAtZeroCount, \r\n        ");
            viewString.Append("    T.Downtick AS PRODUCTS_Downtick, \r\n            T.SurchargeId AS PRODUCTS_Sur");
            viewString.Append("chargeId, \r\n            T.MenuPosition AS PRODUCTS_MenuPosition, \r\n            T");
            viewString.Append(".SKU AS PRODUCTS_SKU, \r\n            T.PLU AS PRODUCTS_PLU, \r\n            T.DownT");
            viewString.Append("ickSemaphoreIsLocked AS PRODUCTS_DownTickSemaphoreIsLocked, \r\n            T.Excl");
            viewString.Append("usiveTaxRateId AS PRODUCTS_ExclusiveTaxRateId, \r\n            T.ProductGroupPrint");
            viewString.Append("erId AS PRODUCTS_ProductGroupPrinterId, \r\n            T.UPC AS PRODUCTS_UPC, \r\n ");
            viewString.Append("           T.LongName AS PRODUCTS_LongName, \r\n            T.InclusiveTaxRateId A");
            viewString.Append("S PRODUCTS_InclusiveTaxRateId, \r\n            T.InclusiveTipRateId AS PRODUCTS_In");
            viewString.Append("clusiveTipRateId, \r\n            T.CalorieCount AS PRODUCTS_CalorieCount, \r\n     ");
            viewString.Append("       T.PromptForPrice AS PRODUCTS_PromptForPrice, \r\n            T.IsGiftCard A");
            viewString.Append("S PRODUCTS_IsGiftCard, \r\n            T.PricePerUnitOfWeight AS PRODUCTS_PricePer");
            viewString.Append("UnitOfWeight, \r\n            T.UseWeightPricing AS PRODUCTS_UseWeightPricing, \r\n ");
            viewString.Append("           T.UnitOfWeightSize AS PRODUCTS_UnitOfWeightSize, \r\n            True A");
            viewString.Append("S _from0\r\n        FROM DominicaEntities.PRODUCTS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PRODUCTS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.EXCEPTION_MODIFIERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView23()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2353);
            viewString.Append("\r\n    SELECT VALUE -- Constructing EXCEPTION_MODIFIERS\r\n        [DominicaModel.S");
            viewString.Append("tore.EXCEPTION_MODIFIERS](T1.[EXCEPTION_MODIFIERS.Name], T1.[EXCEPTION_MODIFIERS");
            viewString.Append(".Price], T1.[EXCEPTION_MODIFIERS.Id], T1.[EXCEPTION_MODIFIERS.IsDeleted], T1.[EX");
            viewString.Append("CEPTION_MODIFIERS.RemoveAtZeroCount], T1.[EXCEPTION_MODIFIERS.Downtick], T1.[EXC");
            viewString.Append("EPTION_MODIFIERS.SurchargeId], T1.[EXCEPTION_MODIFIERS.MenuPosition], T1.[EXCEPT");
            viewString.Append("ION_MODIFIERS.PLU], T1.[EXCEPTION_MODIFIERS.SKU], T1.[EXCEPTION_MODIFIERS.DownTi");
            viewString.Append("ckSemaphoreIsLocked], T1.[EXCEPTION_MODIFIERS.RevenueTypeId], T1.[EXCEPTION_MODI");
            viewString.Append("FIERS.OrderedRecipeId], T1.[EXCEPTION_MODIFIERS.ExclusiveTaxRateId], T1.[EXCEPTI");
            viewString.Append("ON_MODIFIERS.UPC], T1.[EXCEPTION_MODIFIERS.LongName], T1.[EXCEPTION_MODIFIERS.In");
            viewString.Append("clusiveTaxRateId], T1.[EXCEPTION_MODIFIERS.InclusiveTipRateId], T1.[EXCEPTION_MO");
            viewString.Append("DIFIERS.CalorieCount], T1.[EXCEPTION_MODIFIERS.ForcedModGroupOnExceptionModId])\r");
            viewString.Append("\n    FROM (\r\n        SELECT \r\n            T.Name AS [EXCEPTION_MODIFIERS.Name], ");
            viewString.Append("\r\n            T.Price AS [EXCEPTION_MODIFIERS.Price], \r\n            T.Id AS [EXC");
            viewString.Append("EPTION_MODIFIERS.Id], \r\n            T.IsDeleted AS [EXCEPTION_MODIFIERS.IsDelete");
            viewString.Append("d], \r\n            T.RemoveAtZeroCount AS [EXCEPTION_MODIFIERS.RemoveAtZeroCount]");
            viewString.Append(", \r\n            T.Downtick AS [EXCEPTION_MODIFIERS.Downtick], \r\n            T.Su");
            viewString.Append("rchargeId AS [EXCEPTION_MODIFIERS.SurchargeId], \r\n            T.MenuPosition AS ");
            viewString.Append("[EXCEPTION_MODIFIERS.MenuPosition], \r\n            T.PLU AS [EXCEPTION_MODIFIERS.");
            viewString.Append("PLU], \r\n            T.SKU AS [EXCEPTION_MODIFIERS.SKU], \r\n            T.DownTick");
            viewString.Append("SemaphoreIsLocked AS [EXCEPTION_MODIFIERS.DownTickSemaphoreIsLocked], \r\n        ");
            viewString.Append("    T.RevenueTypeId AS [EXCEPTION_MODIFIERS.RevenueTypeId], \r\n            T.Orde");
            viewString.Append("redRecipeId AS [EXCEPTION_MODIFIERS.OrderedRecipeId], \r\n            T.ExclusiveT");
            viewString.Append("axRateId AS [EXCEPTION_MODIFIERS.ExclusiveTaxRateId], \r\n            T.UPC AS [EX");
            viewString.Append("CEPTION_MODIFIERS.UPC], \r\n            T.LongName AS [EXCEPTION_MODIFIERS.LongNam");
            viewString.Append("e], \r\n            T.InclusiveTaxRateId AS [EXCEPTION_MODIFIERS.InclusiveTaxRateI");
            viewString.Append("d], \r\n            T.InclusiveTipRateId AS [EXCEPTION_MODIFIERS.InclusiveTipRateI");
            viewString.Append("d], \r\n            T.CalorieCount AS [EXCEPTION_MODIFIERS.CalorieCount], \r\n      ");
            viewString.Append("      T.ForcedModGroupOnExceptionModId AS [EXCEPTION_MODIFIERS.ForcedModGroupOnE");
            viewString.Append("xceptionModId], \r\n            True AS _from0\r\n        FROM DominicaEntities.EXCE");
            viewString.Append("PTION_MODIFIERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.EXCEPTION_MODIFIERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PRODUCT_GROUP_PRINTER_EXCLUSIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView24()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PRODUCT_GROUP_PRINTER_EXCLUSIONS", @"
    SELECT VALUE -- Constructing PRODUCT_GROUP_PRINTER_EXCLUSIONS
        [DominicaModel.Store.PRODUCT_GROUP_PRINTER_EXCLUSIONS](T1.[PRODUCT_GROUP_PRINTER_EXCLUSIONS.Id], T1.[PRODUCT_GROUP_PRINTER_EXCLUSIONS.NavKioskId], T1.[PRODUCT_GROUP_PRINTER_EXCLUSIONS.ProductGroupId])
    FROM (
        SELECT 
            T.Id AS [PRODUCT_GROUP_PRINTER_EXCLUSIONS.Id], 
            T.NavKioskId AS [PRODUCT_GROUP_PRINTER_EXCLUSIONS.NavKioskId], 
            T.ProductGroupId AS [PRODUCT_GROUP_PRINTER_EXCLUSIONS.ProductGroupId], 
            True AS _from0
        FROM DominicaEntities.PRODUCT_GROUP_PRINTER_EXCLUSIONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_MENU_PRODUCT_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView25()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_MENU_PRODUCT_GROUP", @"
    SELECT VALUE -- Constructing ASSN_MENU_PRODUCT_GROUP
        [DominicaModel.Store.ASSN_MENU_PRODUCT_GROUP](T1.[ASSN_MENU_PRODUCT_GROUP.ASSN_MENU_PRODUCT_GROUP_PRODUCT_GROUP_Id], T1.[ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUPS_Id])
    FROM (
        SELECT 
            Key(T.MENU).Id AS [ASSN_MENU_PRODUCT_GROUP.ASSN_MENU_PRODUCT_GROUP_PRODUCT_GROUP_Id], 
            Key(T.PRODUCT_GROUP).Id AS [ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUPS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_MENU_PRODUCT_GROUP AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView26()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP", @"
    SELECT VALUE -- Constructing ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP
        [DominicaModel.Store.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP](T1.[ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER_GROUP_Id], T1.[ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.EXCEPTION_MODIFIER_GROUPS_Id])
    FROM (
        SELECT 
            Key(T.PRODUCT_GROUP).Id AS [ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER_GROUP_Id], 
            Key(T.EXCEPTION_MODIFIER_GROUP).Id AS [ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.EXCEPTION_MODIFIER_GROUPS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_PRICE_INTERVAL_PRODUCT_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView27()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_PRICE_INTERVAL_PRODUCT_GROUP", @"
    SELECT VALUE -- Constructing ASSN_PRICE_INTERVAL_PRODUCT_GROUP
        [DominicaModel.Store.ASSN_PRICE_INTERVAL_PRODUCT_GROUP](T1.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL_DISCOUNTS_Id], T1.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.ASSN_PRICE_INTERVAL_PRODUCT_GROUP_PRICE_INTERVAL_Id])
    FROM (
        SELECT 
            Key(T.PRICE_INTERVAL).Id AS [ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL_DISCOUNTS_Id], 
            Key(T.PRODUCT_GROUP).Id AS [ASSN_PRICE_INTERVAL_PRODUCT_GROUP.ASSN_PRICE_INTERVAL_PRODUCT_GROUP_PRICE_INTERVAL_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_PRICE_INTERVAL_PRODUCT_GROUP AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_MENU_GROUP_MENU
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView28()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_MENU_GROUP_MENU", @"
    SELECT VALUE -- Constructing ASSN_MENU_GROUP_MENU
        [DominicaModel.Store.ASSN_MENU_GROUP_MENU](T1.[ASSN_MENU_GROUP_MENU.ASSN_MENU_GROUP_MENU_MENU_Id], T1.[ASSN_MENU_GROUP_MENU.MENUS_Id])
    FROM (
        SELECT 
            Key(T.MENU_GROUP).Id AS [ASSN_MENU_GROUP_MENU.ASSN_MENU_GROUP_MENU_MENU_Id], 
            Key(T.MENU).Id AS [ASSN_MENU_GROUP_MENU.MENUS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_MENU_GROUP_MENU AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_KIOSK_AUTO_GRATUITY
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView29()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_KIOSK_AUTO_GRATUITY", @"
    SELECT VALUE -- Constructing ASSN_KIOSK_AUTO_GRATUITY
        [DominicaModel.Store.ASSN_KIOSK_AUTO_GRATUITY](T1.[ASSN_KIOSK_AUTO_GRATUITY.ASSN_KIOSK_AUTO_GRATUITY_AUTO_GRATUITY_Id], T1.[ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITYS_Id])
    FROM (
        SELECT 
            Key(T.NODE).Id AS [ASSN_KIOSK_AUTO_GRATUITY.ASSN_KIOSK_AUTO_GRATUITY_AUTO_GRATUITY_Id], 
            Key(T.AUTO_GRATUITY).Id AS [ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITYS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_KIOSK_AUTO_GRATUITY AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView30()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER", @"
    SELECT VALUE -- Constructing ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER
        [DominicaModel.Store.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER](T1.[ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER_FORCED_MODIFIER_Id], T1.[ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.FORCED_MODIFIERS_Id])
    FROM (
        SELECT 
            Key(T.FORCED_MODIFIER_GROUP).Id AS [ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER_FORCED_MODIFIER_Id], 
            Key(T.FORCED_MODIFIER).Id AS [ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.FORCED_MODIFIERS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView31()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER", @"
    SELECT VALUE -- Constructing ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER
        [DominicaModel.Store.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER](T1.[ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER_EXCEPTION_MODIFIER_Id], T1.[ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIERS_Id])
    FROM (
        SELECT 
            Key(T.EXCEPTION_MODIFIER_GROUP).Id AS [ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER_EXCEPTION_MODIFIER_Id], 
            Key(T.EXCEPTION_MODIFIER).Id AS [ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIERS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_PRODUCT_GROUP_PRODUCT
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView32()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_PRODUCT_GROUP_PRODUCT", @"
    SELECT VALUE -- Constructing ASSN_PRODUCT_GROUP_PRODUCT
        [DominicaModel.Store.ASSN_PRODUCT_GROUP_PRODUCT](T1.[ASSN_PRODUCT_GROUP_PRODUCT.ASSN_PRODUCT_GROUP_PRODUCT_PRODUCT_Id], T1.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCTS_Id])
    FROM (
        SELECT 
            Key(T.PRODUCT_GROUP).Id AS [ASSN_PRODUCT_GROUP_PRODUCT.ASSN_PRODUCT_GROUP_PRODUCT_PRODUCT_Id], 
            Key(T.PRODUCT).Id AS [ASSN_PRODUCT_GROUP_PRODUCT.PRODUCTS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_PRODUCT_GROUP_PRODUCT AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_PRODUCT_FORCED_MODIFIER_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView33()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_PRODUCT_FORCED_MODIFIER_GROUP", @"
    SELECT VALUE -- Constructing ASSN_PRODUCT_FORCED_MODIFIER_GROUP
        [DominicaModel.Store.ASSN_PRODUCT_FORCED_MODIFIER_GROUP](T1.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.ASSN_PRODUCT_FORCED_MODIFIER_GROUP_FORCED_MODIFIER_GROUP_Id], T1.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUPS_Id])
    FROM (
        SELECT 
            Key(T.PRODUCT).Id AS [ASSN_PRODUCT_FORCED_MODIFIER_GROUP.ASSN_PRODUCT_FORCED_MODIFIER_GROUP_FORCED_MODIFIER_GROUP_Id], 
            Key(T.FORCED_MODIFIER_GROUP).Id AS [ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUPS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_PRODUCT_FORCED_MODIFIER_GROUP AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ASSN_PRINTER_GROUP_PRINTER
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView34()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ASSN_PRINTER_GROUP_PRINTER", @"
    SELECT VALUE -- Constructing ASSN_PRINTER_GROUP_PRINTER
        [DominicaModel.Store.ASSN_PRINTER_GROUP_PRINTER](T1.[ASSN_PRINTER_GROUP_PRINTER.ASSN_PRINTER_GROUP_PRINTER_PRINTER_Id], T1.[ASSN_PRINTER_GROUP_PRINTER.PRINTERS_Id])
    FROM (
        SELECT 
            Key(T.PRINTER_GROUP).Id AS [ASSN_PRINTER_GROUP_PRINTER.ASSN_PRINTER_GROUP_PRINTER_PRINTER_Id], 
            Key(T.PRINTER).Id AS [ASSN_PRINTER_GROUP_PRINTER.PRINTERS_Id], 
            True AS _from0
        FROM DominicaEntities.ASSN_PRINTER_GROUP_PRINTER AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.MENUS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView35()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.MENUS", @"
    SELECT VALUE -- Constructing MENUS
        [DominicaModel.MENU](T1.MENU_Name, T1.MENU_Id, T1.MENU_StartTime, T1.MENU_EndTime, T1.MENU_IsDeleted, T1.MENU_OrderMenuItemsByWeight, T1.MENU_DefaultSelectedProductGroupId, T1.MENU_DaysToRunFlags)
    FROM (
        SELECT 
            T.Name AS MENU_Name, 
            T.Id AS MENU_Id, 
            T.StartTime AS MENU_StartTime, 
            T.EndTime AS MENU_EndTime, 
            T.IsDeleted AS MENU_IsDeleted, 
            T.OrderMenuItemsByWeight AS MENU_OrderMenuItemsByWeight, 
            T.DefaultSelectedProductGroupId AS MENU_DefaultSelectedProductGroupId, 
            T.DaysToRunFlags AS MENU_DaysToRunFlags, 
            True AS _from0
        FROM DominicaModelStoreContainer.MENUS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PRODUCT_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView36()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PRODUCT_GROUPS", @"
    SELECT VALUE -- Constructing PRODUCT_GROUPS
        [DominicaModel.PRODUCT_GROUP](T1.[PRODUCT_GROUP.Name], T1.[PRODUCT_GROUP.Id], T1.[PRODUCT_GROUP.IsDeleted], T1.[PRODUCT_GROUP.MenuPosition], T1.[PRODUCT_GROUP.CanDiscountGroup], T1.[PRODUCT_GROUP.UseDriversAgeVerification], T1.[PRODUCT_GROUP.ApplyGroupPrice], T1.[PRODUCT_GROUP.GroupPrice], T1.[PRODUCT_GROUP.OrderMenuItemsByWeight])
    FROM (
        SELECT 
            T.Name AS [PRODUCT_GROUP.Name], 
            T.Id AS [PRODUCT_GROUP.Id], 
            T.IsDeleted AS [PRODUCT_GROUP.IsDeleted], 
            T.MenuPosition AS [PRODUCT_GROUP.MenuPosition], 
            T.CanDiscountGroup AS [PRODUCT_GROUP.CanDiscountGroup], 
            T.UseDriversAgeVerification AS [PRODUCT_GROUP.UseDriversAgeVerification], 
            T.ApplyGroupPrice AS [PRODUCT_GROUP.ApplyGroupPrice], 
            T.GroupPrice AS [PRODUCT_GROUP.GroupPrice], 
            T.OrderMenuItemsByWeight AS [PRODUCT_GROUP.OrderMenuItemsByWeight], 
            True AS _from0
        FROM DominicaModelStoreContainer.PRODUCT_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.FORCED_MODIFIER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView37()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.FORCED_MODIFIER_GROUPS", @"
    SELECT VALUE -- Constructing FORCED_MODIFIER_GROUPS
        [DominicaModel.FORCED_MODIFIER_GROUP](T1.[FORCED_MODIFIER_GROUP.Name], T1.[FORCED_MODIFIER_GROUP.MaximumChoice], T1.[FORCED_MODIFIER_GROUP.Id], T1.[FORCED_MODIFIER_GROUP.ApplyGroupPrice], T1.[FORCED_MODIFIER_GROUP.GroupPrice], T1.[FORCED_MODIFIER_GROUP.IsDeleted], T1.[FORCED_MODIFIER_GROUP.MenuPosition], T1.[FORCED_MODIFIER_GROUP.MinimumChoice], T1.[FORCED_MODIFIER_GROUP.ExceptionModOnForcedModGroupId], T1.[FORCED_MODIFIER_GROUP.OrderMenuItemsByWeight])
    FROM (
        SELECT 
            T.Name AS [FORCED_MODIFIER_GROUP.Name], 
            T.MaximumChoice AS [FORCED_MODIFIER_GROUP.MaximumChoice], 
            T.Id AS [FORCED_MODIFIER_GROUP.Id], 
            T.ApplyGroupPrice AS [FORCED_MODIFIER_GROUP.ApplyGroupPrice], 
            T.GroupPrice AS [FORCED_MODIFIER_GROUP.GroupPrice], 
            T.IsDeleted AS [FORCED_MODIFIER_GROUP.IsDeleted], 
            T.MenuPosition AS [FORCED_MODIFIER_GROUP.MenuPosition], 
            T.MinimumChoice AS [FORCED_MODIFIER_GROUP.MinimumChoice], 
            T.ExceptionModOnForcedModGroupId AS [FORCED_MODIFIER_GROUP.ExceptionModOnForcedModGroupId], 
            T.OrderMenuItemsByWeight AS [FORCED_MODIFIER_GROUP.OrderMenuItemsByWeight], 
            True AS _from0
        FROM DominicaModelStoreContainer.FORCED_MODIFIER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.EXCEPTION_MODIFIER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView38()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.EXCEPTION_MODIFIER_GROUPS", @"
    SELECT VALUE -- Constructing EXCEPTION_MODIFIER_GROUPS
        [DominicaModel.EXCEPTION_MODIFIER_GROUP](T1.[EXCEPTION_MODIFIER_GROUP.Name], T1.[EXCEPTION_MODIFIER_GROUP.Id], T1.[EXCEPTION_MODIFIER_GROUP.ApplyGroupPrice], T1.[EXCEPTION_MODIFIER_GROUP.GroupPrice], T1.[EXCEPTION_MODIFIER_GROUP.IsDeleted], T1.[EXCEPTION_MODIFIER_GROUP.MenuPosition], T1.[EXCEPTION_MODIFIER_GROUP.ExceptionModOnExceptionModGroupId], T1.[EXCEPTION_MODIFIER_GROUP.OrderMenuItemsByWeight])
    FROM (
        SELECT 
            T.Name AS [EXCEPTION_MODIFIER_GROUP.Name], 
            T.Id AS [EXCEPTION_MODIFIER_GROUP.Id], 
            T.ApplyGroupPrice AS [EXCEPTION_MODIFIER_GROUP.ApplyGroupPrice], 
            T.GroupPrice AS [EXCEPTION_MODIFIER_GROUP.GroupPrice], 
            T.IsDeleted AS [EXCEPTION_MODIFIER_GROUP.IsDeleted], 
            T.MenuPosition AS [EXCEPTION_MODIFIER_GROUP.MenuPosition], 
            T.ExceptionModOnExceptionModGroupId AS [EXCEPTION_MODIFIER_GROUP.ExceptionModOnExceptionModGroupId], 
            T.OrderMenuItemsByWeight AS [EXCEPTION_MODIFIER_GROUP.OrderMenuItemsByWeight], 
            True AS _from0
        FROM DominicaModelStoreContainer.EXCEPTION_MODIFIER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PRICE_INTERVAL_DISCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView39()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PRICE_INTERVAL_DISCOUNTS", @"
    SELECT VALUE -- Constructing PRICE_INTERVAL_DISCOUNTS
        [DominicaModel.PRICE_INTERVAL_DISCOUNT](T1.[PRICE_INTERVAL_DISCOUNT.Id], T1.[PRICE_INTERVAL_DISCOUNT.AmountOrPercent], T1.[PRICE_INTERVAL_DISCOUNT.StartTime], T1.[PRICE_INTERVAL_DISCOUNT.EndTime], T1.[PRICE_INTERVAL_DISCOUNT.IsDeleted], T1.[PRICE_INTERVAL_DISCOUNT.IsPercentOff], T1.[PRICE_INTERVAL_DISCOUNT.IsDollarsOff], T1.[PRICE_INTERVAL_DISCOUNT.IsSpecifiedPrice], T1.[PRICE_INTERVAL_DISCOUNT.Name])
    FROM (
        SELECT 
            T.Id AS [PRICE_INTERVAL_DISCOUNT.Id], 
            T.AmountOrPercent AS [PRICE_INTERVAL_DISCOUNT.AmountOrPercent], 
            T.StartTime AS [PRICE_INTERVAL_DISCOUNT.StartTime], 
            T.EndTime AS [PRICE_INTERVAL_DISCOUNT.EndTime], 
            T.IsDeleted AS [PRICE_INTERVAL_DISCOUNT.IsDeleted], 
            T.IsPercentOff AS [PRICE_INTERVAL_DISCOUNT.IsPercentOff], 
            T.IsDollarsOff AS [PRICE_INTERVAL_DISCOUNT.IsDollarsOff], 
            T.IsSpecifiedPrice AS [PRICE_INTERVAL_DISCOUNT.IsSpecifiedPrice], 
            T.Name AS [PRICE_INTERVAL_DISCOUNT.Name], 
            True AS _from0
        FROM DominicaModelStoreContainer.PRICE_INTERVAL_DISCOUNTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.KIOSKS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView40()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2506);
            viewString.Append("\r\n    SELECT VALUE -- Constructing KIOSKS\r\n        [DominicaModel.KIOSK](T1.KIOS");
            viewString.Append("K_Name, T1.KIOSK_NumberOfCashDrawers, T1.KIOSK_Id, T1.KIOSK_FirstCashDrawerNumbe");
            viewString.Append("r, T1.KIOSK_OpenDrawerOnPay, T1.KIOSK_IsDeleted, T1.KIOSK_SystemComFlags, T1.KIO");
            viewString.Append("SK_MagStripeDelay, T1.KIOSK_CreateAutoSeats, T1.KIOSK_RevenueCenterId, T1.KIOSK_");
            viewString.Append("ForceOrderProdId, T1.KIOSK_MenuGroupId, T1.KIOSK_ForceOrderProdGroupId, T1.KIOSK");
            viewString.Append("_LocalPrinterId, T1.KIOSK_PrintItemizedReceiptOnPay, T1.KIOSK_PrintCashReceiptOn");
            viewString.Append("Pay, T1.KIOSK_SwRevision, T1.KIOSK_UseProductGroupPrinterMapping, T1.KIOSK_Notes");
            viewString.Append(", T1.KIOSK_Spare64, T1.KIOSK_ForceCashDrop, T1.KIOSK_ForceCashDropAmount, T1.KIO");
            viewString.Append("SK_PrintCreditReceiptOnPay, T1.KIOSK_PrintGiftReceiptOnPay, T1.KIOSK_NumberCashR");
            viewString.Append("eceipts, T1.KIOSK_NumberCreditReceipts, T1.KIOSK_NumberGiftReceipts)\r\n    FROM (");
            viewString.Append("\r\n        SELECT \r\n            T.Name AS KIOSK_Name, \r\n            T.NumberOfCas");
            viewString.Append("hDrawers AS KIOSK_NumberOfCashDrawers, \r\n            T.Id AS KIOSK_Id, \r\n       ");
            viewString.Append("     T.FirstCashDrawerNumber AS KIOSK_FirstCashDrawerNumber, \r\n            T.Ope");
            viewString.Append("nDrawerOnPay AS KIOSK_OpenDrawerOnPay, \r\n            T.IsDeleted AS KIOSK_IsDele");
            viewString.Append("ted, \r\n            T.SystemComFlags AS KIOSK_SystemComFlags, \r\n            T.Mag");
            viewString.Append("StripeDelay AS KIOSK_MagStripeDelay, \r\n            T.CreateAutoSeats AS KIOSK_Cr");
            viewString.Append("eateAutoSeats, \r\n            T.RevenueCenterId AS KIOSK_RevenueCenterId, \r\n     ");
            viewString.Append("       T.ForceOrderProdId AS KIOSK_ForceOrderProdId, \r\n            T.MenuGroupId");
            viewString.Append(" AS KIOSK_MenuGroupId, \r\n            T.ForceOrderProdGroupId AS KIOSK_ForceOrder");
            viewString.Append("ProdGroupId, \r\n            T.LocalPrinterId AS KIOSK_LocalPrinterId, \r\n         ");
            viewString.Append("   T.PrintItemizedReceiptOnPay AS KIOSK_PrintItemizedReceiptOnPay, \r\n           ");
            viewString.Append(" T.PrintCashReceiptOnPay AS KIOSK_PrintCashReceiptOnPay, \r\n            T.SwRevis");
            viewString.Append("ion AS KIOSK_SwRevision, \r\n            T.UseProductGroupPrinterMapping AS KIOSK_");
            viewString.Append("UseProductGroupPrinterMapping, \r\n            T.Notes AS KIOSK_Notes, \r\n         ");
            viewString.Append("   T.Spare64 AS KIOSK_Spare64, \r\n            T.ForceCashDrop AS KIOSK_ForceCashD");
            viewString.Append("rop, \r\n            T.ForceCashDropAmount AS KIOSK_ForceCashDropAmount, \r\n       ");
            viewString.Append("     T.PrintCreditReceiptOnPay AS KIOSK_PrintCreditReceiptOnPay, \r\n            T");
            viewString.Append(".PrintGiftReceiptOnPay AS KIOSK_PrintGiftReceiptOnPay, \r\n            T.NumberCas");
            viewString.Append("hReceipts AS KIOSK_NumberCashReceipts, \r\n            T.NumberCreditReceipts AS K");
            viewString.Append("IOSK_NumberCreditReceipts, \r\n            T.NumberGiftReceipts AS KIOSK_NumberGif");
            viewString.Append("tReceipts, \r\n            True AS _from0\r\n        FROM DominicaModelStoreContaine");
            viewString.Append("r.KIOSKS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.KIOSKS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView41()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS", @"
    SELECT VALUE -- Constructing MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS
        [DominicaModel.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP](T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.Id], T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.NavKioskId], T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.NavProductGroupId], T1.[MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.NavPrinterGroupId])
    FROM (
        SELECT 
            T.Id AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.Id], 
            T.NavKioskId AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.NavKioskId], 
            T.NavProductGroupId AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.NavProductGroupId], 
            T.NavPrinterGroupId AS [MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUP.NavPrinterGroupId], 
            True AS _from0
        FROM DominicaModelStoreContainer.MAP_KIOSK_PRODUCT_GROUP_AND_PRINTER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.MENU_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView42()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.MENU_GROUPS", @"
    SELECT VALUE -- Constructing MENU_GROUPS
        [DominicaModel.MENU_GROUP](T1.[MENU_GROUP.Id], T1.[MENU_GROUP.Name], T1.[MENU_GROUP.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [MENU_GROUP.Id], 
            T.Name AS [MENU_GROUP.Name], 
            T.IsDeleted AS [MENU_GROUP.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.MENU_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PRINTERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView43()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PRINTERS", @"
    SELECT VALUE -- Constructing PRINTERS
        [DominicaModel.PRINTER](T1.PRINTER_Id, T1.PRINTER_Name, T1.PRINTER_IsDeleted, T1.PRINTER_Path, T1.PRINTER_Manufacturer, T1.PRINTER_Model, T1.PRINTER_IpAddress, T1.PRINTER_IsProductGroupPrinter, T1.PRINTER_PathToDevInfoFile, T1.PRINTER_IsPCPrinter)
    FROM (
        SELECT 
            T.Id AS PRINTER_Id, 
            T.Name AS PRINTER_Name, 
            T.IsDeleted AS PRINTER_IsDeleted, 
            T.Path AS PRINTER_Path, 
            T.Manufacturer AS PRINTER_Manufacturer, 
            T.Model AS PRINTER_Model, 
            T.IpAddress AS PRINTER_IpAddress, 
            T.IsProductGroupPrinter AS PRINTER_IsProductGroupPrinter, 
            T.PathToDevInfoFile AS PRINTER_PathToDevInfoFile, 
            T.IsPCPrinter AS PRINTER_IsPCPrinter, 
            True AS _from0
        FROM DominicaModelStoreContainer.PRINTERS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PRINTER_GROUPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView44()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PRINTER_GROUPS", @"
    SELECT VALUE -- Constructing PRINTER_GROUPS
        [DominicaModel.PRINTER_GROUP](T1.[PRINTER_GROUP.Id], T1.[PRINTER_GROUP.IsDeleted], T1.[PRINTER_GROUP.Name])
    FROM (
        SELECT 
            T.Id AS [PRINTER_GROUP.Id], 
            T.IsDeleted AS [PRINTER_GROUP.IsDeleted], 
            T.Name AS [PRINTER_GROUP.Name], 
            True AS _from0
        FROM DominicaModelStoreContainer.PRINTER_GROUPS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.AUTO_GRATUITYS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView45()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3119);
            viewString.Append("\r\n    SELECT VALUE -- Constructing AUTO_GRATUITYS\r\n        [DominicaModel.AUTO_G");
            viewString.Append("RATUITY](T1.[AUTO_GRATUITY.Id], T1.[AUTO_GRATUITY.AutoGratuityRate], T1.[AUTO_GR");
            viewString.Append("ATUITY.AutoGratuitySeatStartCount], T1.[AUTO_GRATUITY.RunMonday], T1.[AUTO_GRATU");
            viewString.Append("ITY.RunTuesday], T1.[AUTO_GRATUITY.RunWednesday], T1.[AUTO_GRATUITY.RunThursday]");
            viewString.Append(", T1.[AUTO_GRATUITY.RunFriday], T1.[AUTO_GRATUITY.RunSaturday], T1.[AUTO_GRATUIT");
            viewString.Append("Y.RunSunday], T1.[AUTO_GRATUITY.Name], T1.[AUTO_GRATUITY.EnableAboveTicketAmount");
            viewString.Append("], T1.[AUTO_GRATUITY.AboveTicketAmount], T1.[AUTO_GRATUITY.MondayStartTime], T1.");
            viewString.Append("[AUTO_GRATUITY.MondayEndTime], T1.[AUTO_GRATUITY.TuesdayStartTime], T1.[AUTO_GRA");
            viewString.Append("TUITY.TuesdayEndTime], T1.[AUTO_GRATUITY.WednesdayStartTime], T1.[AUTO_GRATUITY.");
            viewString.Append("WednesdayEndTime], T1.[AUTO_GRATUITY.ThursdayStartTime], T1.[AUTO_GRATUITY.Thurs");
            viewString.Append("dayEndTime], T1.[AUTO_GRATUITY.FridayStartTime], T1.[AUTO_GRATUITY.FridayEndTime");
            viewString.Append("], T1.[AUTO_GRATUITY.SaturdayStartTime], T1.[AUTO_GRATUITY.SaturdayEndTime], T1.");
            viewString.Append("[AUTO_GRATUITY.SundayStartTime], T1.[AUTO_GRATUITY.SundayEndTime], T1.[AUTO_GRAT");
            viewString.Append("UITY.IsDeleted], T1.[AUTO_GRATUITY.ApplyOnMenuPrice])\r\n    FROM (\r\n        SELEC");
            viewString.Append("T \r\n            T.Id AS [AUTO_GRATUITY.Id], \r\n            T.AutoGratuityRate AS ");
            viewString.Append("[AUTO_GRATUITY.AutoGratuityRate], \r\n            T.AutoGratuitySeatStartCount AS ");
            viewString.Append("[AUTO_GRATUITY.AutoGratuitySeatStartCount], \r\n            T.RunMonday AS [AUTO_G");
            viewString.Append("RATUITY.RunMonday], \r\n            T.RunTuesday AS [AUTO_GRATUITY.RunTuesday], \r\n");
            viewString.Append("            T.RunWednesday AS [AUTO_GRATUITY.RunWednesday], \r\n            T.RunT");
            viewString.Append("hursday AS [AUTO_GRATUITY.RunThursday], \r\n            T.RunFriday AS [AUTO_GRATU");
            viewString.Append("ITY.RunFriday], \r\n            T.RunSaturday AS [AUTO_GRATUITY.RunSaturday], \r\n  ");
            viewString.Append("          T.RunSunday AS [AUTO_GRATUITY.RunSunday], \r\n            T.Name AS [AUT");
            viewString.Append("O_GRATUITY.Name], \r\n            T.EnableAboveTicketAmount AS [AUTO_GRATUITY.Enab");
            viewString.Append("leAboveTicketAmount], \r\n            T.AboveTicketAmount AS [AUTO_GRATUITY.AboveT");
            viewString.Append("icketAmount], \r\n            T.MondayStartTime AS [AUTO_GRATUITY.MondayStartTime]");
            viewString.Append(", \r\n            T.MondayEndTime AS [AUTO_GRATUITY.MondayEndTime], \r\n            ");
            viewString.Append("T.TuesdayStartTime AS [AUTO_GRATUITY.TuesdayStartTime], \r\n            T.TuesdayE");
            viewString.Append("ndTime AS [AUTO_GRATUITY.TuesdayEndTime], \r\n            T.WednesdayStartTime AS ");
            viewString.Append("[AUTO_GRATUITY.WednesdayStartTime], \r\n            T.WednesdayEndTime AS [AUTO_GR");
            viewString.Append("ATUITY.WednesdayEndTime], \r\n            T.ThursdayStartTime AS [AUTO_GRATUITY.Th");
            viewString.Append("ursdayStartTime], \r\n            T.ThursdayEndTime AS [AUTO_GRATUITY.ThursdayEndT");
            viewString.Append("ime], \r\n            T.FridayStartTime AS [AUTO_GRATUITY.FridayStartTime], \r\n    ");
            viewString.Append("        T.FridayEndTime AS [AUTO_GRATUITY.FridayEndTime], \r\n            T.Saturd");
            viewString.Append("ayStartTime AS [AUTO_GRATUITY.SaturdayStartTime], \r\n            T.SaturdayEndTim");
            viewString.Append("e AS [AUTO_GRATUITY.SaturdayEndTime], \r\n            T.SundayStartTime AS [AUTO_G");
            viewString.Append("RATUITY.SundayStartTime], \r\n            T.SundayEndTime AS [AUTO_GRATUITY.Sunday");
            viewString.Append("EndTime], \r\n            T.IsDeleted AS [AUTO_GRATUITY.IsDeleted], \r\n            ");
            viewString.Append("T.ApplyOnMenuPrice AS [AUTO_GRATUITY.ApplyOnMenuPrice], \r\n            True AS _f");
            viewString.Append("rom0\r\n        FROM DominicaModelStoreContainer.AUTO_GRATUITYS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.AUTO_GRATUITYS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.FORCED_MODIFIERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView46()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2305);
            viewString.Append("\r\n    SELECT VALUE -- Constructing FORCED_MODIFIERS\r\n        [DominicaModel.FORC");
            viewString.Append("ED_MODIFIER](T1.[FORCED_MODIFIER.Name], T1.[FORCED_MODIFIER.Price], T1.[FORCED_M");
            viewString.Append("ODIFIER.Id], T1.[FORCED_MODIFIER.IsDeleted], T1.[FORCED_MODIFIER.RemoveAtZeroCou");
            viewString.Append("nt], T1.[FORCED_MODIFIER.Downtick], T1.[FORCED_MODIFIER.SurchargeId], T1.[FORCED");
            viewString.Append("_MODIFIER.MenuPosition], T1.[FORCED_MODIFIER.PLU], T1.[FORCED_MODIFIER.SKU], T1.");
            viewString.Append("[FORCED_MODIFIER.DownTickSemaphoreIsLocked], T1.[FORCED_MODIFIER.RevenueTypeId],");
            viewString.Append(" T1.[FORCED_MODIFIER.OrderedRecipeId], T1.[FORCED_MODIFIER.ExclusiveTaxRateId], ");
            viewString.Append("T1.[FORCED_MODIFIER.ProductGroupPrinterId], T1.[FORCED_MODIFIER.UPC], T1.[FORCED");
            viewString.Append("_MODIFIER.LongName], T1.[FORCED_MODIFIER.InclusiveTaxRateId], T1.[FORCED_MODIFIE");
            viewString.Append("R.InclusiveTipRateId], T1.[FORCED_MODIFIER.CalorieCount], T1.[FORCED_MODIFIER.Fo");
            viewString.Append("rcedModGroupOnForcedModId])\r\n    FROM (\r\n        SELECT \r\n            T.Name AS ");
            viewString.Append("[FORCED_MODIFIER.Name], \r\n            T.Price AS [FORCED_MODIFIER.Price], \r\n    ");
            viewString.Append("        T.Id AS [FORCED_MODIFIER.Id], \r\n            T.IsDeleted AS [FORCED_MODIF");
            viewString.Append("IER.IsDeleted], \r\n            T.RemoveAtZeroCount AS [FORCED_MODIFIER.RemoveAtZe");
            viewString.Append("roCount], \r\n            T.Downtick AS [FORCED_MODIFIER.Downtick], \r\n            ");
            viewString.Append("T.SurchargeId AS [FORCED_MODIFIER.SurchargeId], \r\n            T.MenuPosition AS ");
            viewString.Append("[FORCED_MODIFIER.MenuPosition], \r\n            T.PLU AS [FORCED_MODIFIER.PLU], \r\n");
            viewString.Append("            T.SKU AS [FORCED_MODIFIER.SKU], \r\n            T.DownTickSemaphoreIsL");
            viewString.Append("ocked AS [FORCED_MODIFIER.DownTickSemaphoreIsLocked], \r\n            T.RevenueTyp");
            viewString.Append("eId AS [FORCED_MODIFIER.RevenueTypeId], \r\n            T.OrderedRecipeId AS [FORC");
            viewString.Append("ED_MODIFIER.OrderedRecipeId], \r\n            T.ExclusiveTaxRateId AS [FORCED_MODI");
            viewString.Append("FIER.ExclusiveTaxRateId], \r\n            T.ProductGroupPrinterId AS [FORCED_MODIF");
            viewString.Append("IER.ProductGroupPrinterId], \r\n            T.UPC AS [FORCED_MODIFIER.UPC], \r\n    ");
            viewString.Append("        T.LongName AS [FORCED_MODIFIER.LongName], \r\n            T.InclusiveTaxRa");
            viewString.Append("teId AS [FORCED_MODIFIER.InclusiveTaxRateId], \r\n            T.InclusiveTipRateId");
            viewString.Append(" AS [FORCED_MODIFIER.InclusiveTipRateId], \r\n            T.CalorieCount AS [FORCE");
            viewString.Append("D_MODIFIER.CalorieCount], \r\n            T.ForcedModGroupOnForcedModId AS [FORCED");
            viewString.Append("_MODIFIER.ForcedModGroupOnForcedModId], \r\n            True AS _from0\r\n        FR");
            viewString.Append("OM DominicaModelStoreContainer.FORCED_MODIFIERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.FORCED_MODIFIERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PRODUCTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView47()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2180);
            viewString.Append("\r\n    SELECT VALUE -- Constructing PRODUCTS\r\n        [DominicaModel.PRODUCT](T1.");
            viewString.Append("PRODUCT_RevenueTypeId, T1.PRODUCT_OrderedRecipeId, T1.PRODUCT_Name, T1.PRODUCT_P");
            viewString.Append("rice, T1.PRODUCT_Id, T1.PRODUCT_IsDeleted, T1.PRODUCT_RemoveAtZeroCount, T1.PROD");
            viewString.Append("UCT_Downtick, T1.PRODUCT_SurchargeId, T1.PRODUCT_MenuPosition, T1.PRODUCT_SKU, T");
            viewString.Append("1.PRODUCT_PLU, T1.PRODUCT_DownTickSemaphoreIsLocked, T1.PRODUCT_ExclusiveTaxRate");
            viewString.Append("Id, T1.PRODUCT_ProductGroupPrinterId, T1.PRODUCT_UPC, T1.PRODUCT_LongName, T1.PR");
            viewString.Append("ODUCT_InclusiveTaxRateId, T1.PRODUCT_InclusiveTipRateId, T1.PRODUCT_CalorieCount");
            viewString.Append(", T1.PRODUCT_PromptForPrice, T1.PRODUCT_IsGiftCard, T1.PRODUCT_PricePerUnitOfWei");
            viewString.Append("ght, T1.PRODUCT_UseWeightPricing, T1.PRODUCT_UnitOfWeightSize)\r\n    FROM (\r\n    ");
            viewString.Append("    SELECT \r\n            T.RevenueTypeId AS PRODUCT_RevenueTypeId, \r\n           ");
            viewString.Append(" T.OrderedRecipeId AS PRODUCT_OrderedRecipeId, \r\n            T.Name AS PRODUCT_N");
            viewString.Append("ame, \r\n            T.Price AS PRODUCT_Price, \r\n            T.Id AS PRODUCT_Id, \r");
            viewString.Append("\n            T.IsDeleted AS PRODUCT_IsDeleted, \r\n            T.RemoveAtZeroCount");
            viewString.Append(" AS PRODUCT_RemoveAtZeroCount, \r\n            T.Downtick AS PRODUCT_Downtick, \r\n ");
            viewString.Append("           T.SurchargeId AS PRODUCT_SurchargeId, \r\n            T.MenuPosition AS");
            viewString.Append(" PRODUCT_MenuPosition, \r\n            T.SKU AS PRODUCT_SKU, \r\n            T.PLU A");
            viewString.Append("S PRODUCT_PLU, \r\n            T.DownTickSemaphoreIsLocked AS PRODUCT_DownTickSema");
            viewString.Append("phoreIsLocked, \r\n            T.ExclusiveTaxRateId AS PRODUCT_ExclusiveTaxRateId,");
            viewString.Append(" \r\n            T.ProductGroupPrinterId AS PRODUCT_ProductGroupPrinterId, \r\n     ");
            viewString.Append("       T.UPC AS PRODUCT_UPC, \r\n            T.LongName AS PRODUCT_LongName, \r\n   ");
            viewString.Append("         T.InclusiveTaxRateId AS PRODUCT_InclusiveTaxRateId, \r\n            T.Inc");
            viewString.Append("lusiveTipRateId AS PRODUCT_InclusiveTipRateId, \r\n            T.CalorieCount AS P");
            viewString.Append("RODUCT_CalorieCount, \r\n            T.PromptForPrice AS PRODUCT_PromptForPrice, \r");
            viewString.Append("\n            T.IsGiftCard AS PRODUCT_IsGiftCard, \r\n            T.PricePerUnitOfW");
            viewString.Append("eight AS PRODUCT_PricePerUnitOfWeight, \r\n            T.UseWeightPricing AS PRODU");
            viewString.Append("CT_UseWeightPricing, \r\n            T.UnitOfWeightSize AS PRODUCT_UnitOfWeightSiz");
            viewString.Append("e, \r\n            True AS _from0\r\n        FROM DominicaModelStoreContainer.PRODUC");
            viewString.Append("TS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PRODUCTS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.EXCEPTION_MODIFIERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView48()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2317);
            viewString.Append("\r\n    SELECT VALUE -- Constructing EXCEPTION_MODIFIERS\r\n        [DominicaModel.E");
            viewString.Append("XCEPTION_MODIFIER](T1.[EXCEPTION_MODIFIER.Name], T1.[EXCEPTION_MODIFIER.Price], ");
            viewString.Append("T1.[EXCEPTION_MODIFIER.Id], T1.[EXCEPTION_MODIFIER.IsDeleted], T1.[EXCEPTION_MOD");
            viewString.Append("IFIER.RemoveAtZeroCount], T1.[EXCEPTION_MODIFIER.Downtick], T1.[EXCEPTION_MODIFI");
            viewString.Append("ER.SurchargeId], T1.[EXCEPTION_MODIFIER.MenuPosition], T1.[EXCEPTION_MODIFIER.PL");
            viewString.Append("U], T1.[EXCEPTION_MODIFIER.SKU], T1.[EXCEPTION_MODIFIER.DownTickSemaphoreIsLocke");
            viewString.Append("d], T1.[EXCEPTION_MODIFIER.RevenueTypeId], T1.[EXCEPTION_MODIFIER.OrderedRecipeI");
            viewString.Append("d], T1.[EXCEPTION_MODIFIER.ExclusiveTaxRateId], T1.[EXCEPTION_MODIFIER.UPC], T1.");
            viewString.Append("[EXCEPTION_MODIFIER.LongName], T1.[EXCEPTION_MODIFIER.InclusiveTaxRateId], T1.[E");
            viewString.Append("XCEPTION_MODIFIER.InclusiveTipRateId], T1.[EXCEPTION_MODIFIER.CalorieCount], T1.");
            viewString.Append("[EXCEPTION_MODIFIER.ForcedModGroupOnExceptionModId])\r\n    FROM (\r\n        SELECT");
            viewString.Append(" \r\n            T.Name AS [EXCEPTION_MODIFIER.Name], \r\n            T.Price AS [EX");
            viewString.Append("CEPTION_MODIFIER.Price], \r\n            T.Id AS [EXCEPTION_MODIFIER.Id], \r\n      ");
            viewString.Append("      T.IsDeleted AS [EXCEPTION_MODIFIER.IsDeleted], \r\n            T.RemoveAtZer");
            viewString.Append("oCount AS [EXCEPTION_MODIFIER.RemoveAtZeroCount], \r\n            T.Downtick AS [E");
            viewString.Append("XCEPTION_MODIFIER.Downtick], \r\n            T.SurchargeId AS [EXCEPTION_MODIFIER.");
            viewString.Append("SurchargeId], \r\n            T.MenuPosition AS [EXCEPTION_MODIFIER.MenuPosition],");
            viewString.Append(" \r\n            T.PLU AS [EXCEPTION_MODIFIER.PLU], \r\n            T.SKU AS [EXCEPT");
            viewString.Append("ION_MODIFIER.SKU], \r\n            T.DownTickSemaphoreIsLocked AS [EXCEPTION_MODIF");
            viewString.Append("IER.DownTickSemaphoreIsLocked], \r\n            T.RevenueTypeId AS [EXCEPTION_MODI");
            viewString.Append("FIER.RevenueTypeId], \r\n            T.OrderedRecipeId AS [EXCEPTION_MODIFIER.Orde");
            viewString.Append("redRecipeId], \r\n            T.ExclusiveTaxRateId AS [EXCEPTION_MODIFIER.Exclusiv");
            viewString.Append("eTaxRateId], \r\n            T.UPC AS [EXCEPTION_MODIFIER.UPC], \r\n            T.Lo");
            viewString.Append("ngName AS [EXCEPTION_MODIFIER.LongName], \r\n            T.InclusiveTaxRateId AS [");
            viewString.Append("EXCEPTION_MODIFIER.InclusiveTaxRateId], \r\n            T.InclusiveTipRateId AS [E");
            viewString.Append("XCEPTION_MODIFIER.InclusiveTipRateId], \r\n            T.CalorieCount AS [EXCEPTIO");
            viewString.Append("N_MODIFIER.CalorieCount], \r\n            T.ForcedModGroupOnExceptionModId AS [EXC");
            viewString.Append("EPTION_MODIFIER.ForcedModGroupOnExceptionModId], \r\n            True AS _from0\r\n ");
            viewString.Append("       FROM DominicaModelStoreContainer.EXCEPTION_MODIFIERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.EXCEPTION_MODIFIERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PRODUCT_GROUP_PRINTER_EXCLUSIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView49()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PRODUCT_GROUP_PRINTER_EXCLUSIONS", @"
    SELECT VALUE -- Constructing PRODUCT_GROUP_PRINTER_EXCLUSIONS
        [DominicaModel.PRODUCT_GROUP_PRINTER_EXCLUSION](T1.[PRODUCT_GROUP_PRINTER_EXCLUSION.Id], T1.[PRODUCT_GROUP_PRINTER_EXCLUSION.NavKioskId], T1.[PRODUCT_GROUP_PRINTER_EXCLUSION.ProductGroupId])
    FROM (
        SELECT 
            T.Id AS [PRODUCT_GROUP_PRINTER_EXCLUSION.Id], 
            T.NavKioskId AS [PRODUCT_GROUP_PRINTER_EXCLUSION.NavKioskId], 
            T.ProductGroupId AS [PRODUCT_GROUP_PRINTER_EXCLUSION.ProductGroupId], 
            True AS _from0
        FROM DominicaModelStoreContainer.PRODUCT_GROUP_PRINTER_EXCLUSIONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_MENU_PRODUCT_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView50()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_MENU_PRODUCT_GROUP", @"
    SELECT VALUE -- Constructing ASSN_MENU_PRODUCT_GROUP
        [DominicaModel.ASSN_MENU_PRODUCT_GROUP](T3.[ASSN_MENU_PRODUCT_GROUP.MENU], T3.[ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUP])
    FROM (
        SELECT -- Constructing MENU
            CreateRef(DominicaEntities.MENUS, row(T2.[ASSN_MENU_PRODUCT_GROUP.MENU.Id]),[DominicaModel.MENU]) AS [ASSN_MENU_PRODUCT_GROUP.MENU], 
            T2.[ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUP]
        FROM (
            SELECT -- Constructing PRODUCT_GROUP
                CreateRef(DominicaEntities.PRODUCT_GROUPS, row(T1.[ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUP.Id]),[DominicaModel.PRODUCT_GROUP]) AS [ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUP], 
                T1.[ASSN_MENU_PRODUCT_GROUP.MENU.Id]
            FROM (
                SELECT 
                    T.ASSN_MENU_PRODUCT_GROUP_PRODUCT_GROUP_Id AS [ASSN_MENU_PRODUCT_GROUP.MENU.Id], 
                    T.PRODUCT_GROUPS_Id AS [ASSN_MENU_PRODUCT_GROUP.PRODUCT_GROUP.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_MENU_PRODUCT_GROUP AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView51()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP", "\r\n    SELECT VALUE -- Constructing ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP\r\n " +
                    "       [DominicaModel.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP](T3.[ASSN_PROD" +
                    "UCT_GROUP_EXCEPTION_MODIFIER_GROUP.PRODUCT_GROUP], T3.[ASSN_PRODUCT_GROUP_EXCEPT" +
                    "ION_MODIFIER_GROUP.EXCEPTION_MODIFIER_GROUP])\r\n    FROM (\r\n        SELECT -- Con" +
                    "structing PRODUCT_GROUP\r\n            CreateRef(DominicaEntities.PRODUCT_GROUPS, " +
                    "row(T2.[ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.PRODUCT_GROUP.Id]),[Dominica" +
                    "Model.PRODUCT_GROUP]) AS [ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.PRODUCT_GR" +
                    "OUP], \r\n            T2.[ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.EXCEPTION_MO" +
                    "DIFIER_GROUP]\r\n        FROM (\r\n            SELECT -- Constructing EXCEPTION_MODI" +
                    "FIER_GROUP\r\n                CreateRef(DominicaEntities.EXCEPTION_MODIFIER_GROUPS" +
                    ", row(T1.[ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.EXCEPTION_MODIFIER_GROUP.I" +
                    "d]),[DominicaModel.EXCEPTION_MODIFIER_GROUP]) AS [ASSN_PRODUCT_GROUP_EXCEPTION_M" +
                    "ODIFIER_GROUP.EXCEPTION_MODIFIER_GROUP], \r\n                T1.[ASSN_PRODUCT_GROU" +
                    "P_EXCEPTION_MODIFIER_GROUP.PRODUCT_GROUP.Id]\r\n            FROM (\r\n              " +
                    "  SELECT \r\n                    T.ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP_EXC" +
                    "EPTION_MODIFIER_GROUP_Id AS [ASSN_PRODUCT_GROUP_EXCEPTION_MODIFIER_GROUP.PRODUCT" +
                    "_GROUP.Id], \r\n                    T.EXCEPTION_MODIFIER_GROUPS_Id AS [ASSN_PRODUC" +
                    "T_GROUP_EXCEPTION_MODIFIER_GROUP.EXCEPTION_MODIFIER_GROUP.Id], \r\n               " +
                    "     True AS _from0\r\n                FROM DominicaModelStoreContainer.ASSN_PRODU" +
                    "CT_GROUP_EXCEPTION_MODIFIER_GROUP AS T\r\n            ) AS T1\r\n        ) AS T2\r\n  " +
                    "  ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_PRICE_INTERVAL_PRODUCT_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView52()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_PRICE_INTERVAL_PRODUCT_GROUP", @"
    SELECT VALUE -- Constructing ASSN_PRICE_INTERVAL_PRODUCT_GROUP
        [DominicaModel.ASSN_PRICE_INTERVAL_PRODUCT_GROUP](T3.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL], T3.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRODUCT_GROUP])
    FROM (
        SELECT -- Constructing PRICE_INTERVAL
            CreateRef(DominicaEntities.PRICE_INTERVAL_DISCOUNTS, row(T2.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL.Id]),[DominicaModel.PRICE_INTERVAL_DISCOUNT]) AS [ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL], 
            T2.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRODUCT_GROUP]
        FROM (
            SELECT -- Constructing PRODUCT_GROUP
                CreateRef(DominicaEntities.PRODUCT_GROUPS, row(T1.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRODUCT_GROUP.Id]),[DominicaModel.PRODUCT_GROUP]) AS [ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRODUCT_GROUP], 
                T1.[ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL.Id]
            FROM (
                SELECT 
                    T.PRICE_INTERVAL_DISCOUNTS_Id AS [ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRICE_INTERVAL.Id], 
                    T.ASSN_PRICE_INTERVAL_PRODUCT_GROUP_PRICE_INTERVAL_Id AS [ASSN_PRICE_INTERVAL_PRODUCT_GROUP.PRODUCT_GROUP.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_PRICE_INTERVAL_PRODUCT_GROUP AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_MENU_GROUP_MENU
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView53()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_MENU_GROUP_MENU", @"
    SELECT VALUE -- Constructing ASSN_MENU_GROUP_MENU
        [DominicaModel.ASSN_MENU_GROUP_MENU](T3.[ASSN_MENU_GROUP_MENU.MENU_GROUP], T3.[ASSN_MENU_GROUP_MENU.MENU])
    FROM (
        SELECT -- Constructing MENU_GROUP
            CreateRef(DominicaEntities.MENU_GROUPS, row(T2.[ASSN_MENU_GROUP_MENU.MENU_GROUP.Id]),[DominicaModel.MENU_GROUP]) AS [ASSN_MENU_GROUP_MENU.MENU_GROUP], 
            T2.[ASSN_MENU_GROUP_MENU.MENU]
        FROM (
            SELECT -- Constructing MENU
                CreateRef(DominicaEntities.MENUS, row(T1.[ASSN_MENU_GROUP_MENU.MENU.Id]),[DominicaModel.MENU]) AS [ASSN_MENU_GROUP_MENU.MENU], 
                T1.[ASSN_MENU_GROUP_MENU.MENU_GROUP.Id]
            FROM (
                SELECT 
                    T.ASSN_MENU_GROUP_MENU_MENU_Id AS [ASSN_MENU_GROUP_MENU.MENU_GROUP.Id], 
                    T.MENUS_Id AS [ASSN_MENU_GROUP_MENU.MENU.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_MENU_GROUP_MENU AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_KIOSK_AUTO_GRATUITY
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView54()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_KIOSK_AUTO_GRATUITY", @"
    SELECT VALUE -- Constructing ASSN_KIOSK_AUTO_GRATUITY
        [DominicaModel.ASSN_KIOSK_AUTO_GRATUITY](T3.[ASSN_KIOSK_AUTO_GRATUITY.NODE], T3.[ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITY])
    FROM (
        SELECT -- Constructing NODE
            CreateRef(DominicaEntities.KIOSKS, row(T2.[ASSN_KIOSK_AUTO_GRATUITY.NODE.Id]),[DominicaModel.KIOSK]) AS [ASSN_KIOSK_AUTO_GRATUITY.NODE], 
            T2.[ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITY]
        FROM (
            SELECT -- Constructing AUTO_GRATUITY
                CreateRef(DominicaEntities.AUTO_GRATUITYS, row(T1.[ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITY.Id]),[DominicaModel.AUTO_GRATUITY]) AS [ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITY], 
                T1.[ASSN_KIOSK_AUTO_GRATUITY.NODE.Id]
            FROM (
                SELECT 
                    T.ASSN_KIOSK_AUTO_GRATUITY_AUTO_GRATUITY_Id AS [ASSN_KIOSK_AUTO_GRATUITY.NODE.Id], 
                    T.AUTO_GRATUITYS_Id AS [ASSN_KIOSK_AUTO_GRATUITY.AUTO_GRATUITY.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_KIOSK_AUTO_GRATUITY AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView55()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER", "\r\n    SELECT VALUE -- Constructing ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER\r\n  " +
                    "      [DominicaModel.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER](T3.[ASSN_FORCED" +
                    "_MODIFIER_GROUP_FORCED_MODIFIER.FORCED_MODIFIER_GROUP], T3.[ASSN_FORCED_MODIFIER" +
                    "_GROUP_FORCED_MODIFIER.FORCED_MODIFIER])\r\n    FROM (\r\n        SELECT -- Construc" +
                    "ting FORCED_MODIFIER_GROUP\r\n            CreateRef(DominicaEntities.FORCED_MODIFI" +
                    "ER_GROUPS, row(T2.[ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.FORCED_MODIFIER_GR" +
                    "OUP.Id]),[DominicaModel.FORCED_MODIFIER_GROUP]) AS [ASSN_FORCED_MODIFIER_GROUP_F" +
                    "ORCED_MODIFIER.FORCED_MODIFIER_GROUP], \r\n            T2.[ASSN_FORCED_MODIFIER_GR" +
                    "OUP_FORCED_MODIFIER.FORCED_MODIFIER]\r\n        FROM (\r\n            SELECT -- Cons" +
                    "tructing FORCED_MODIFIER\r\n                CreateRef(DominicaEntities.FORCED_MODI" +
                    "FIERS, row(T1.[ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.FORCED_MODIFIER.Id]),[" +
                    "DominicaModel.FORCED_MODIFIER]) AS [ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.F" +
                    "ORCED_MODIFIER], \r\n                T1.[ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIE" +
                    "R.FORCED_MODIFIER_GROUP.Id]\r\n            FROM (\r\n                SELECT \r\n      " +
                    "              T.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER_FORCED_MODIFIER_Id AS" +
                    " [ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER.FORCED_MODIFIER_GROUP.Id], \r\n      " +
                    "              T.FORCED_MODIFIERS_Id AS [ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFI" +
                    "ER.FORCED_MODIFIER.Id], \r\n                    True AS _from0\r\n                FR" +
                    "OM DominicaModelStoreContainer.ASSN_FORCED_MODIFIER_GROUP_FORCED_MODIFIER AS T\r\n" +
                    "            ) AS T1\r\n        ) AS T2\r\n    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView56()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER", "\r\n    SELECT VALUE -- Constructing ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFI" +
                    "ER\r\n        [DominicaModel.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER](T3." +
                    "[ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIER_GROUP], T3." +
                    "[ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIER])\r\n    FROM" +
                    " (\r\n        SELECT -- Constructing EXCEPTION_MODIFIER_GROUP\r\n            CreateR" +
                    "ef(DominicaEntities.EXCEPTION_MODIFIER_GROUPS, row(T2.[ASSN_EXCEPTION_MODIFIER_G" +
                    "ROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIER_GROUP.Id]),[DominicaModel.EXCEPTION_M" +
                    "ODIFIER_GROUP]) AS [ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_M" +
                    "ODIFIER_GROUP], \r\n            T2.[ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFI" +
                    "ER.EXCEPTION_MODIFIER]\r\n        FROM (\r\n            SELECT -- Constructing EXCEP" +
                    "TION_MODIFIER\r\n                CreateRef(DominicaEntities.EXCEPTION_MODIFIERS, r" +
                    "ow(T1.[ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIER.Id])," +
                    "[DominicaModel.EXCEPTION_MODIFIER]) AS [ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_" +
                    "MODIFIER.EXCEPTION_MODIFIER], \r\n                T1.[ASSN_EXCEPTION_MODIFIER_GROU" +
                    "P_EXCEPTION_MODIFIER.EXCEPTION_MODIFIER_GROUP.Id]\r\n            FROM (\r\n         " +
                    "       SELECT \r\n                    T.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MO" +
                    "DIFIER_EXCEPTION_MODIFIER_Id AS [ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIE" +
                    "R.EXCEPTION_MODIFIER_GROUP.Id], \r\n                    T.EXCEPTION_MODIFIERS_Id A" +
                    "S [ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER.EXCEPTION_MODIFIER.Id], \r\n  " +
                    "                  True AS _from0\r\n                FROM DominicaModelStoreContain" +
                    "er.ASSN_EXCEPTION_MODIFIER_GROUP_EXCEPTION_MODIFIER AS T\r\n            ) AS T1\r\n " +
                    "       ) AS T2\r\n    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_PRODUCT_GROUP_PRODUCT
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView57()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_PRODUCT_GROUP_PRODUCT", @"
    SELECT VALUE -- Constructing ASSN_PRODUCT_GROUP_PRODUCT
        [DominicaModel.ASSN_PRODUCT_GROUP_PRODUCT](T3.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT_GROUP], T3.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT])
    FROM (
        SELECT -- Constructing PRODUCT_GROUP
            CreateRef(DominicaEntities.PRODUCT_GROUPS, row(T2.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT_GROUP.Id]),[DominicaModel.PRODUCT_GROUP]) AS [ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT_GROUP], 
            T2.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT]
        FROM (
            SELECT -- Constructing PRODUCT
                CreateRef(DominicaEntities.PRODUCTS, row(T1.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT.Id]),[DominicaModel.PRODUCT]) AS [ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT], 
                T1.[ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT_GROUP.Id]
            FROM (
                SELECT 
                    T.ASSN_PRODUCT_GROUP_PRODUCT_PRODUCT_Id AS [ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT_GROUP.Id], 
                    T.PRODUCTS_Id AS [ASSN_PRODUCT_GROUP_PRODUCT.PRODUCT.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_PRODUCT_GROUP_PRODUCT AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_PRODUCT_FORCED_MODIFIER_GROUP
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView58()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_PRODUCT_FORCED_MODIFIER_GROUP", @"
    SELECT VALUE -- Constructing ASSN_PRODUCT_FORCED_MODIFIER_GROUP
        [DominicaModel.ASSN_PRODUCT_FORCED_MODIFIER_GROUP](T3.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.PRODUCT], T3.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUP])
    FROM (
        SELECT -- Constructing PRODUCT
            CreateRef(DominicaEntities.PRODUCTS, row(T2.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.PRODUCT.Id]),[DominicaModel.PRODUCT]) AS [ASSN_PRODUCT_FORCED_MODIFIER_GROUP.PRODUCT], 
            T2.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUP]
        FROM (
            SELECT -- Constructing FORCED_MODIFIER_GROUP
                CreateRef(DominicaEntities.FORCED_MODIFIER_GROUPS, row(T1.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUP.Id]),[DominicaModel.FORCED_MODIFIER_GROUP]) AS [ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUP], 
                T1.[ASSN_PRODUCT_FORCED_MODIFIER_GROUP.PRODUCT.Id]
            FROM (
                SELECT 
                    T.ASSN_PRODUCT_FORCED_MODIFIER_GROUP_FORCED_MODIFIER_GROUP_Id AS [ASSN_PRODUCT_FORCED_MODIFIER_GROUP.PRODUCT.Id], 
                    T.FORCED_MODIFIER_GROUPS_Id AS [ASSN_PRODUCT_FORCED_MODIFIER_GROUP.FORCED_MODIFIER_GROUP.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_PRODUCT_FORCED_MODIFIER_GROUP AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_PRINTER_GROUP_PRINTER
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView59()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_PRINTER_GROUP_PRINTER", @"
    SELECT VALUE -- Constructing ASSN_PRINTER_GROUP_PRINTER
        [DominicaModel.ASSN_PRINTER_GROUP_PRINTER](T3.[ASSN_PRINTER_GROUP_PRINTER.PRINTER_GROUP], T3.[ASSN_PRINTER_GROUP_PRINTER.PRINTER])
    FROM (
        SELECT -- Constructing PRINTER_GROUP
            CreateRef(DominicaEntities.PRINTER_GROUPS, row(T2.[ASSN_PRINTER_GROUP_PRINTER.PRINTER_GROUP.Id]),[DominicaModel.PRINTER_GROUP]) AS [ASSN_PRINTER_GROUP_PRINTER.PRINTER_GROUP], 
            T2.[ASSN_PRINTER_GROUP_PRINTER.PRINTER]
        FROM (
            SELECT -- Constructing PRINTER
                CreateRef(DominicaEntities.PRINTERS, row(T1.[ASSN_PRINTER_GROUP_PRINTER.PRINTER.Id]),[DominicaModel.PRINTER]) AS [ASSN_PRINTER_GROUP_PRINTER.PRINTER], 
                T1.[ASSN_PRINTER_GROUP_PRINTER.PRINTER_GROUP.Id]
            FROM (
                SELECT 
                    T.ASSN_PRINTER_GROUP_PRINTER_PRINTER_Id AS [ASSN_PRINTER_GROUP_PRINTER.PRINTER_GROUP.Id], 
                    T.PRINTERS_Id AS [ASSN_PRINTER_GROUP_PRINTER.PRINTER.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.ASSN_PRINTER_GROUP_PRINTER AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ORDERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView60()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3345);
            viewString.Append("\r\n    SELECT VALUE -- Constructing ORDERS\r\n        [DominicaModel.Store.ORDERS](");
            viewString.Append("T1.ORDERS_Id, T1.ORDERS_OpenDateStamp, T1.ORDERS_CreatorId, T1.ORDERS_CloserId, ");
            viewString.Append("T1.ORDERS_TableName, T1.ORDERS_GuestCount, T1.ORDERS_ClosedDateStamp, T1.ORDERS_");
            viewString.Append("ReservationTime, T1.ORDERS_SitDownTime, T1.ORDERS_FirstOrderTime, T1.ORDERS_Last");
            viewString.Append("OrderTime, T1.ORDERS_FirstPrintTime, T1.ORDERS_FirstPayTime, T1.ORDERS_LastPayTi");
            viewString.Append("me, T1.ORDERS_UserId, T1.ORDERS_PrintCount, T1.ORDERS_ReopenTime, T1.ORDERS_Reop");
            viewString.Append("enByUserId, T1.ORDERS_IsBarSeat, T1.ORDERS_CustomerName, T1.ORDERS_HasHeadOfTabl");
            viewString.Append("e, T1.ORDERS_TableInt, T1.ORDERS_CustomerId, T1.ORDERS_KioskWhereCreatedId, T1.O");
            viewString.Append("RDERS_NavEmployeeShiftId, T1.ORDERS_HasProductsOnHold, T1.ORDERS_CheckCount, T1.");
            viewString.Append("ORDERS_IsClosed, T1.ORDERS_BusinessDayId, T1.ORDERS_CardOnFileExtId, T1.ORDERS_H");
            viewString.Append("asCardOnFile, T1.ORDERS_RevenueCenterId, T1.ORDERS_HasTimedOut, T1.ORDERS_LastAt");
            viewString.Append("tentedToDateStamp, T1.ORDERS_LastModifiedDateStamp, T1.ORDERS_SplitBySeatHasBeen");
            viewString.Append("Applied, T1.ORDERS_UserChangedCheckSinceSplitBySeat, T1.ORDERS_EqualPayIsActive,");
            viewString.Append(" T1.ORDERS_EqualPayCount)\r\n    FROM (\r\n        SELECT \r\n            T.Id AS ORDE");
            viewString.Append("RS_Id, \r\n            T.OpenDateStamp AS ORDERS_OpenDateStamp, \r\n            T.Cr");
            viewString.Append("eatorId AS ORDERS_CreatorId, \r\n            T.CloserId AS ORDERS_CloserId, \r\n    ");
            viewString.Append("        T.TableName AS ORDERS_TableName, \r\n            T.GuestCount AS ORDERS_Gu");
            viewString.Append("estCount, \r\n            T.ClosedDateStamp AS ORDERS_ClosedDateStamp, \r\n         ");
            viewString.Append("   T.ReservationTime AS ORDERS_ReservationTime, \r\n            T.SitDownTime AS O");
            viewString.Append("RDERS_SitDownTime, \r\n            T.FirstOrderTime AS ORDERS_FirstOrderTime, \r\n  ");
            viewString.Append("          T.LastOrderTime AS ORDERS_LastOrderTime, \r\n            T.FirstPrintTim");
            viewString.Append("e AS ORDERS_FirstPrintTime, \r\n            T.FirstPayTime AS ORDERS_FirstPayTime,");
            viewString.Append(" \r\n            T.LastPayTime AS ORDERS_LastPayTime, \r\n            T.UserId AS OR");
            viewString.Append("DERS_UserId, \r\n            T.PrintCount AS ORDERS_PrintCount, \r\n            T.Re");
            viewString.Append("openTime AS ORDERS_ReopenTime, \r\n            T.ReopenByUserId AS ORDERS_ReopenBy");
            viewString.Append("UserId, \r\n            T.IsBarSeat AS ORDERS_IsBarSeat, \r\n            T.CustomerN");
            viewString.Append("ame AS ORDERS_CustomerName, \r\n            T.HasHeadOfTable AS ORDERS_HasHeadOfTa");
            viewString.Append("ble, \r\n            T.TableInt AS ORDERS_TableInt, \r\n            T.CustomerId AS ");
            viewString.Append("ORDERS_CustomerId, \r\n            T.KioskWhereCreatedId AS ORDERS_KioskWhereCreat");
            viewString.Append("edId, \r\n            T.NavEmployeeShiftId AS ORDERS_NavEmployeeShiftId, \r\n       ");
            viewString.Append("     T.HasProductsOnHold AS ORDERS_HasProductsOnHold, \r\n            T.CheckCount");
            viewString.Append(" AS ORDERS_CheckCount, \r\n            T.IsClosed AS ORDERS_IsClosed, \r\n          ");
            viewString.Append("  T.BusinessDayId AS ORDERS_BusinessDayId, \r\n            T.CardOnFileExtId AS OR");
            viewString.Append("DERS_CardOnFileExtId, \r\n            T.HasCardOnFile AS ORDERS_HasCardOnFile, \r\n ");
            viewString.Append("           T.RevenueCenterId AS ORDERS_RevenueCenterId, \r\n            T.HasTimed");
            viewString.Append("Out AS ORDERS_HasTimedOut, \r\n            T.LastAttentedToDateStamp AS ORDERS_Las");
            viewString.Append("tAttentedToDateStamp, \r\n            T.LastModifiedDateStamp AS ORDERS_LastModifi");
            viewString.Append("edDateStamp, \r\n            T.SplitBySeatHasBeenApplied AS ORDERS_SplitBySeatHasB");
            viewString.Append("eenApplied, \r\n            T.UserChangedCheckSinceSplitBySeat AS ORDERS_UserChang");
            viewString.Append("edCheckSinceSplitBySeat, \r\n            T.EqualPayIsActive AS ORDERS_EqualPayIsAc");
            viewString.Append("tive, \r\n            T.EqualPayCount AS ORDERS_EqualPayCount, \r\n            True ");
            viewString.Append("AS _from0\r\n        FROM DominicaEntities.ORDERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ORDERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.TIMESLIPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView61()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2351);
            viewString.Append("\r\n    SELECT VALUE -- Constructing TIMESLIPS\r\n        [DominicaModel.Store.TIMES");
            viewString.Append("LIPS](T3.TIMESLIPS_Id, T3.TIMESLIPS_ClockedIn, T3.TIMESLIPS_ClockedOut, T3.TIMES");
            viewString.Append("LIPS_IsDeleted, T3.TIMESLIPS_EditedByUserId, T3.TIMESLIPS_WasEdited, T3.TIMESLIP");
            viewString.Append("S_ClockedInDaypartId, T3.TIMESLIPS_ClockedOutDaypartId, T3.TIMESLIPS_RoleId, T3.");
            viewString.Append("TIMESLIPS_ClockedInKioskId, T3.TIMESLIPS_ClockedOutKioskId, T3.TIMESLIPS_UserId,");
            viewString.Append(" T3.TIMESLIPS_RevenueCenterId, T3.TIMESLIPS_CashTipsClaimed, T3.TIMESLIPS_WasAut");
            viewString.Append("oClockedOut, T3.[TIMESLIPS.SHIFT_Id])\r\n    FROM (\r\n        SELECT T1.TIMESLIPS_I");
            viewString.Append("d, T2.TIMESLIPS_ClockedIn, T2.TIMESLIPS_ClockedOut, T2.TIMESLIPS_IsDeleted, T2.T");
            viewString.Append("IMESLIPS_EditedByUserId, T2.TIMESLIPS_WasEdited, T2.TIMESLIPS_ClockedInDaypartId");
            viewString.Append(", T2.TIMESLIPS_ClockedOutDaypartId, T2.TIMESLIPS_RoleId, T2.TIMESLIPS_ClockedInK");
            viewString.Append("ioskId, T2.TIMESLIPS_ClockedOutKioskId, T2.TIMESLIPS_UserId, T2.TIMESLIPS_Revenu");
            viewString.Append("eCenterId, T2.TIMESLIPS_CashTipsClaimed, T2.TIMESLIPS_WasAutoClockedOut, T1.[TIM");
            viewString.Append("ESLIPS.SHIFT_Id], T2._from0, T1._from1\r\n        FROM  (\r\n            SELECT \r\n  ");
            viewString.Append("              Key(T.TIMESLIP).Id AS TIMESLIPS_Id, \r\n                Key(T.SHIFT)");
            viewString.Append(".Id AS [TIMESLIPS.SHIFT_Id], \r\n                True AS _from1\r\n            FROM ");
            viewString.Append("DominicaEntities.ASSN_TIMESLIP_SHIFT AS T) AS T1\r\n            INNER JOIN (\r\n    ");
            viewString.Append("        SELECT \r\n                T.Id AS TIMESLIPS_Id, \r\n                T.Clock");
            viewString.Append("edIn AS TIMESLIPS_ClockedIn, \r\n                T.ClockedOut AS TIMESLIPS_Clocked");
            viewString.Append("Out, \r\n                T.IsDeleted AS TIMESLIPS_IsDeleted, \r\n                T.E");
            viewString.Append("ditedByUserId AS TIMESLIPS_EditedByUserId, \r\n                T.WasEdited AS TIME");
            viewString.Append("SLIPS_WasEdited, \r\n                T.ClockedInDaypartId AS TIMESLIPS_ClockedInDa");
            viewString.Append("ypartId, \r\n                T.ClockedOutDaypartId AS TIMESLIPS_ClockedOutDaypartI");
            viewString.Append("d, \r\n                T.RoleId AS TIMESLIPS_RoleId, \r\n                T.ClockedIn");
            viewString.Append("KioskId AS TIMESLIPS_ClockedInKioskId, \r\n                T.ClockedOutKioskId AS ");
            viewString.Append("TIMESLIPS_ClockedOutKioskId, \r\n                T.UserId AS TIMESLIPS_UserId, \r\n ");
            viewString.Append("               T.RevenueCenterId AS TIMESLIPS_RevenueCenterId, \r\n               ");
            viewString.Append(" T.CashTipsClaimed AS TIMESLIPS_CashTipsClaimed, \r\n                T.WasAutoCloc");
            viewString.Append("kedOut AS TIMESLIPS_WasAutoClockedOut, \r\n                True AS _from0\r\n       ");
            viewString.Append("     FROM DominicaEntities.TIMESLIPS AS T) AS T2\r\n            ON T1.TIMESLIPS_Id");
            viewString.Append(" = T2.TIMESLIPS_Id\r\n    ) AS T3");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.TIMESLIPS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.TRANSACTIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView62()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2411);
            viewString.Append("\r\n    SELECT VALUE -- Constructing TRANSACTIONS\r\n        [DominicaModel.Store.TR");
            viewString.Append("ANSACTIONS](T1.TRANSACTIONS_Id, T1.TRANSACTIONS_Base, T1.TRANSACTIONS_CustomerNa");
            viewString.Append("me, T1.TRANSACTIONS_TransactionType, T1.TRANSACTIONS_OpenDateStamp, T1.TRANSACTI");
            viewString.Append("ONS_WasAutoTipped, T1.TRANSACTIONS_TenderMemo, T1.TRANSACTIONS_TransactionTypeId");
            viewString.Append(", T1.TRANSACTIONS_NavOrderId, T1.TRANSACTIONS_PaidAtRevenueCenterId, T1.TRANSACT");
            viewString.Append("IONS_CustomerId, T1.TRANSACTIONS_OwningCheckNumber, T1.TRANSACTIONS_LastModified");
            viewString.Append("DateStamp, T1.TRANSACTIONS_UserId, T1.TRANSACTIONS_Gratuity, T1.TRANSACTIONS_Cha");
            viewString.Append("nge, T1.TRANSACTIONS_ExtId, T1.TRANSACTIONS_LastModifiedUserId, T1.TRANSACTIONS_");
            viewString.Append("IsBatched, T1.TRANSACTIONS_BusinessDayId, T1.TRANSACTIONS_NavHouseAccountId, T1.");
            viewString.Append("TRANSACTIONS_WasVoided, T1.TRANSACTIONS_TenderType, T1.TRANSACTIONS_CreditCardTi");
            viewString.Append("pFee, T1.TRANSACTIONS_TerminalId)\r\n    FROM (\r\n        SELECT \r\n            T.Id");
            viewString.Append(" AS TRANSACTIONS_Id, \r\n            T.Base AS TRANSACTIONS_Base, \r\n            T.");
            viewString.Append("CustomerName AS TRANSACTIONS_CustomerName, \r\n            T.TransactionType AS TR");
            viewString.Append("ANSACTIONS_TransactionType, \r\n            T.OpenDateStamp AS TRANSACTIONS_OpenDa");
            viewString.Append("teStamp, \r\n            T.WasAutoTipped AS TRANSACTIONS_WasAutoTipped, \r\n        ");
            viewString.Append("    T.TenderMemo AS TRANSACTIONS_TenderMemo, \r\n            T.TransactionTypeId A");
            viewString.Append("S TRANSACTIONS_TransactionTypeId, \r\n            T.NavOrderId AS TRANSACTIONS_Nav");
            viewString.Append("OrderId, \r\n            T.PaidAtRevenueCenterId AS TRANSACTIONS_PaidAtRevenueCent");
            viewString.Append("erId, \r\n            T.CustomerId AS TRANSACTIONS_CustomerId, \r\n            T.Own");
            viewString.Append("ingCheckNumber AS TRANSACTIONS_OwningCheckNumber, \r\n            T.LastModifiedDa");
            viewString.Append("teStamp AS TRANSACTIONS_LastModifiedDateStamp, \r\n            T.UserId AS TRANSAC");
            viewString.Append("TIONS_UserId, \r\n            T.Gratuity AS TRANSACTIONS_Gratuity, \r\n            T");
            viewString.Append(".Change AS TRANSACTIONS_Change, \r\n            T.ExtId AS TRANSACTIONS_ExtId, \r\n ");
            viewString.Append("           T.LastModifiedUserId AS TRANSACTIONS_LastModifiedUserId, \r\n          ");
            viewString.Append("  T.IsBatched AS TRANSACTIONS_IsBatched, \r\n            T.BusinessDayId AS TRANSA");
            viewString.Append("CTIONS_BusinessDayId, \r\n            T.NavHouseAccountId AS TRANSACTIONS_NavHouse");
            viewString.Append("AccountId, \r\n            T.WasVoided AS TRANSACTIONS_WasVoided, \r\n            T.");
            viewString.Append("TenderType AS TRANSACTIONS_TenderType, \r\n            T.CreditCardTipFee AS TRANS");
            viewString.Append("ACTIONS_CreditCardTipFee, \r\n            T.TerminalId AS TRANSACTIONS_TerminalId,");
            viewString.Append(" \r\n            True AS _from0\r\n        FROM DominicaEntities.TRANSACTIONS AS T\r\n");
            viewString.Append("    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.TRANSACTIONS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.SHIFTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView63()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.SHIFTS", @"
    SELECT VALUE -- Constructing SHIFTS
        [DominicaModel.Store.SHIFTS](T1.SHIFTS_Id, T1.SHIFTS_DrawerStart, T1.SHIFTS_IsComplete, T1.SHIFTS_DateStamp, T1.SHIFTS_UserId, T1.SHIFTS_OpenDrawerCount, T1.SHIFTS_IsLocked, T1.SHIFTS_LastKioskId, T1.SHIFTS_MyDrawerOwnershipStatus, T1.SHIFTS_MyDrawerOwnerTermId, T1.SHIFTS_IsClockedIn, T1.SHIFTS_IsOnBreak, T1.SHIFTS_NavBusinessDayId, T1.SHIFTS_WorkCenterId, T1.SHIFTS_Notes)
    FROM (
        SELECT 
            T.Id AS SHIFTS_Id, 
            T.DrawerStart AS SHIFTS_DrawerStart, 
            T.IsComplete AS SHIFTS_IsComplete, 
            T.DateStamp AS SHIFTS_DateStamp, 
            T.UserId AS SHIFTS_UserId, 
            T.OpenDrawerCount AS SHIFTS_OpenDrawerCount, 
            T.IsLocked AS SHIFTS_IsLocked, 
            T.LastKioskId AS SHIFTS_LastKioskId, 
            T.MyDrawerOwnershipStatus AS SHIFTS_MyDrawerOwnershipStatus, 
            T.MyDrawerOwnerTermId AS SHIFTS_MyDrawerOwnerTermId, 
            T.IsClockedIn AS SHIFTS_IsClockedIn, 
            T.IsOnBreak AS SHIFTS_IsOnBreak, 
            T.NavBusinessDayId AS SHIFTS_NavBusinessDayId, 
            T.WorkCenterId AS SHIFTS_WorkCenterId, 
            T.Notes AS SHIFTS_Notes, 
            True AS _from0
        FROM DominicaEntities.SHIFTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.BUSINESS_DAYS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView64()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.BUSINESS_DAYS", @"
    SELECT VALUE -- Constructing BUSINESS_DAYS
        [DominicaModel.Store.BUSINESS_DAYS](T1.[BUSINESS_DAYS.Id], T1.[BUSINESS_DAYS.IsComplete], T1.[BUSINESS_DAYS.CheckoutDateStamp], T1.[BUSINESS_DAYS.BusinessDayDateStamp], T1.[BUSINESS_DAYS.CloseoutKioskId], T1.[BUSINESS_DAYS.BatchSummaryId], T1.[BUSINESS_DAYS.BatchCloseId], T1.[BUSINESS_DAYS.AMNotes], T1.[BUSINESS_DAYS.WeatherSummary], T1.[BUSINESS_DAYS.LunchNotes], T1.[BUSINESS_DAYS.PMNotes])
    FROM (
        SELECT 
            T.Id AS [BUSINESS_DAYS.Id], 
            T.IsComplete AS [BUSINESS_DAYS.IsComplete], 
            T.CheckoutDateStamp AS [BUSINESS_DAYS.CheckoutDateStamp], 
            T.BusinessDayDateStamp AS [BUSINESS_DAYS.BusinessDayDateStamp], 
            T.CloseoutKioskId AS [BUSINESS_DAYS.CloseoutKioskId], 
            T.BatchSummaryId AS [BUSINESS_DAYS.BatchSummaryId], 
            T.BatchCloseId AS [BUSINESS_DAYS.BatchCloseId], 
            T.AMNotes AS [BUSINESS_DAYS.AMNotes], 
            T.WeatherSummary AS [BUSINESS_DAYS.WeatherSummary], 
            T.LunchNotes AS [BUSINESS_DAYS.LunchNotes], 
            T.PMNotes AS [BUSINESS_DAYS.PMNotes], 
            True AS _from0
        FROM DominicaEntities.BUSINESS_DAYS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.SALES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView65()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(4734);
            viewString.Append("\r\n    SELECT VALUE -- Constructing SALES\r\n        [DominicaModel.Store.SALES](T1");
            viewString.Append(".SALES_Id, T1.SALES_ProductId, T1.SALES_ProductsMainCatId, T1.SALES_CountsAsSale");
            viewString.Append("sRevenue, T1.SALES_MenuPrice, T1.SALES_IsForcedModifier, T1.SALES_ProductName, T");
            viewString.Append("1.SALES_NoteForPrint, T1.SALES_PrinterGroupingId, T1.SALES_OnHold, T1.SALES_IsFo");
            viewString.Append("rcedProduct, T1.SALES_PrintJobId, T1.SALES_OwningSeatNumber, T1.SALES_OwningChec");
            viewString.Append("kNumber, T1.SALES_IsExceptionModifier, T1.SALES_NavOrderId, T1.SALES_ProductIsDi");
            viewString.Append("scountable, T1.SALES_Sku, T1.SALES_UserId, T1.SALES_Ordermode, T1.SALES_CountOrd");
            viewString.Append("ered, T1.SALES_BumpbarPreparedTimed, T1.SALES_RevenueCenterId, T1.SALES_DaypartI");
            viewString.Append("d, T1.SALES_IsWithout, T1.SALES_NoteForPrintBeforeHold, T1.SALES_HoldMinutes, T1");
            viewString.Append(".SALES_FirstOrderedDateTime, T1.SALES_LastOrderedDateTime, T1.SALES_CountPending");
            viewString.Append("KitchenSend, T1.SALES_CheckSequenceNumber, T1.SALES_NavParentSaleWhenModSaleId, ");
            viewString.Append("T1.SALES_ActualPrice, T1.SALES_ExclusiveTaxRate, T1.SALES_WasVoided, T1.SALES_Di");
            viewString.Append("scountId, T1.SALES_DiscountManagerId, T1.SALES_SurchargeManagerId, T1.SALES_Disc");
            viewString.Append("ountRate, T1.SALES_SurchargeRate, T1.SALES_AutoGratuityRate, T1.SALES_AutoGratui");
            viewString.Append("tyId, T1.SALES_ExclusiveTaxRateId, T1.SALES_InclusiveTaxRateId, T1.SALES_Surchar");
            viewString.Append("geId, T1.SALES_SeatSequenceNumber, T1.SALES_Notes, T1.SALES_WasCompedInEntire, T");
            viewString.Append("1.SALES_InclusiveTaxRate, T1.SALES_SurchargeAmountFlatFee, T1.SALES_IsSeeServer,");
            viewString.Append(" T1.SALES_ApplyAutoGratToMenuPrice, T1.SALES_DiscountAppliedAtCheckLevel, T1.SAL");
            viewString.Append("ES_RevenueTypeId, T1.SALES_IsGiftCardSale)\r\n    FROM (\r\n        SELECT \r\n       ");
            viewString.Append("     T.Id AS SALES_Id, \r\n            T.ProductId AS SALES_ProductId, \r\n         ");
            viewString.Append("   T.ProductsMainCatId AS SALES_ProductsMainCatId, \r\n            T.CountsAsSales");
            viewString.Append("Revenue AS SALES_CountsAsSalesRevenue, \r\n            T.MenuPrice AS SALES_MenuPr");
            viewString.Append("ice, \r\n            T.IsForcedModifier AS SALES_IsForcedModifier, \r\n            T");
            viewString.Append(".ProductName AS SALES_ProductName, \r\n            T.NoteForPrint AS SALES_NoteFor");
            viewString.Append("Print, \r\n            T.PrinterGroupingId AS SALES_PrinterGroupingId, \r\n         ");
            viewString.Append("   T.OnHold AS SALES_OnHold, \r\n            T.IsForcedProduct AS SALES_IsForcedPr");
            viewString.Append("oduct, \r\n            T.PrintJobId AS SALES_PrintJobId, \r\n            T.OwningSea");
            viewString.Append("tNumber AS SALES_OwningSeatNumber, \r\n            T.OwningCheckNumber AS SALES_Ow");
            viewString.Append("ningCheckNumber, \r\n            T.IsExceptionModifier AS SALES_IsExceptionModifie");
            viewString.Append("r, \r\n            T.NavOrderId AS SALES_NavOrderId, \r\n            T.ProductIsDisc");
            viewString.Append("ountable AS SALES_ProductIsDiscountable, \r\n            T.Sku AS SALES_Sku, \r\n   ");
            viewString.Append("         T.UserId AS SALES_UserId, \r\n            T.Ordermode AS SALES_Ordermode,");
            viewString.Append(" \r\n            T.CountOrdered AS SALES_CountOrdered, \r\n            T.BumpbarPrep");
            viewString.Append("aredTimed AS SALES_BumpbarPreparedTimed, \r\n            T.RevenueCenterId AS SALE");
            viewString.Append("S_RevenueCenterId, \r\n            T.DaypartId AS SALES_DaypartId, \r\n            T");
            viewString.Append(".IsWithout AS SALES_IsWithout, \r\n            T.NoteForPrintBeforeHold AS SALES_N");
            viewString.Append("oteForPrintBeforeHold, \r\n            T.HoldMinutes AS SALES_HoldMinutes, \r\n     ");
            viewString.Append("       T.FirstOrderedDateTime AS SALES_FirstOrderedDateTime, \r\n            T.Las");
            viewString.Append("tOrderedDateTime AS SALES_LastOrderedDateTime, \r\n            T.CountPendingKitch");
            viewString.Append("enSend AS SALES_CountPendingKitchenSend, \r\n            T.CheckSequenceNumber AS ");
            viewString.Append("SALES_CheckSequenceNumber, \r\n            T.NavParentSaleWhenModSaleId AS SALES_N");
            viewString.Append("avParentSaleWhenModSaleId, \r\n            T.ActualPrice AS SALES_ActualPrice, \r\n ");
            viewString.Append("           T.ExclusiveTaxRate AS SALES_ExclusiveTaxRate, \r\n            T.WasVoid");
            viewString.Append("ed AS SALES_WasVoided, \r\n            T.DiscountId AS SALES_DiscountId, \r\n       ");
            viewString.Append("     T.DiscountManagerId AS SALES_DiscountManagerId, \r\n            T.SurchargeMa");
            viewString.Append("nagerId AS SALES_SurchargeManagerId, \r\n            T.DiscountRate AS SALES_Disco");
            viewString.Append("untRate, \r\n            T.SurchargeRate AS SALES_SurchargeRate, \r\n            T.A");
            viewString.Append("utoGratuityRate AS SALES_AutoGratuityRate, \r\n            T.AutoGratuityId AS SAL");
            viewString.Append("ES_AutoGratuityId, \r\n            T.ExclusiveTaxRateId AS SALES_ExclusiveTaxRateI");
            viewString.Append("d, \r\n            T.InclusiveTaxRateId AS SALES_InclusiveTaxRateId, \r\n           ");
            viewString.Append(" T.SurchargeId AS SALES_SurchargeId, \r\n            T.SeatSequenceNumber AS SALES");
            viewString.Append("_SeatSequenceNumber, \r\n            T.Notes AS SALES_Notes, \r\n            T.WasCo");
            viewString.Append("mpedInEntire AS SALES_WasCompedInEntire, \r\n            T.InclusiveTaxRate AS SAL");
            viewString.Append("ES_InclusiveTaxRate, \r\n            T.SurchargeAmountFlatFee AS SALES_SurchargeAm");
            viewString.Append("ountFlatFee, \r\n            T.IsSeeServer AS SALES_IsSeeServer, \r\n            T.A");
            viewString.Append("pplyAutoGratToMenuPrice AS SALES_ApplyAutoGratToMenuPrice, \r\n            T.Disco");
            viewString.Append("untAppliedAtCheckLevel AS SALES_DiscountAppliedAtCheckLevel, \r\n            T.Rev");
            viewString.Append("enueTypeId AS SALES_RevenueTypeId, \r\n            T.IsGiftCardSale AS SALES_IsGif");
            viewString.Append("tCardSale, \r\n            True AS _from0\r\n        FROM DominicaEntities.SALES AS ");
            viewString.Append("T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.SALES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PAYMENTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView66()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PAYMENTS", "\r\n    SELECT VALUE -- Constructing PAYMENTS\r\n        [DominicaModel.Store.PAYMENT" +
                    "S](T1.PAYMENTS_Id, T1.PAYMENTS_EmployeeId, T1.PAYMENTS_TransactionDate, T1.PAYME" +
                    "NTS_Details, T1.PAYMENTS_AffectsCash, T1.PAYMENTS_Amount, T1.PAYMENTS_WasChangeF" +
                    "romVoucher, T1.PAYMENTS_WasChangeFromGiftCard, T1.PAYMENTS_WasCreditCardAdvance," +
                    " T1.PAYMENTS_NavEmployeeShiftId, T1.PAYMENTS_TransactionType, T1.PAYMENTS_WasDra" +
                    "werStart, T1.PAYMENTS_WasDrawerEnd, T1.PAYMENTS_WasPaidIn, T1.PAYMENTS_DaypartId" +
                    ", T1.PAYMENTS_RevenueCenterId, T1.PAYMENTS_UserId, T1.PAYMENTS_TransactionTypeId" +
                    ", T1.PAYMENTS_ReasonId, T1.PAYMENTS_TerminalId)\r\n    FROM (\r\n        SELECT \r\n  " +
                    "          T.Id AS PAYMENTS_Id, \r\n            T.EmployeeId AS PAYMENTS_EmployeeId" +
                    ", \r\n            T.TransactionDate AS PAYMENTS_TransactionDate, \r\n            T.D" +
                    "etails AS PAYMENTS_Details, \r\n            T.AffectsCash AS PAYMENTS_AffectsCash," +
                    " \r\n            T.Amount AS PAYMENTS_Amount, \r\n            T.WasChangeFromVoucher" +
                    " AS PAYMENTS_WasChangeFromVoucher, \r\n            T.WasChangeFromGiftCard AS PAYM" +
                    "ENTS_WasChangeFromGiftCard, \r\n            T.WasCreditCardAdvance AS PAYMENTS_Was" +
                    "CreditCardAdvance, \r\n            T.NavEmployeeShiftId AS PAYMENTS_NavEmployeeShi" +
                    "ftId, \r\n            T.TransactionType AS PAYMENTS_TransactionType, \r\n           " +
                    " T.WasDrawerStart AS PAYMENTS_WasDrawerStart, \r\n            T.WasDrawerEnd AS PA" +
                    "YMENTS_WasDrawerEnd, \r\n            T.WasPaidIn AS PAYMENTS_WasPaidIn, \r\n        " +
                    "    T.DaypartId AS PAYMENTS_DaypartId, \r\n            T.RevenueCenterId AS PAYMEN" +
                    "TS_RevenueCenterId, \r\n            T.UserId AS PAYMENTS_UserId, \r\n            T.T" +
                    "ransactionTypeId AS PAYMENTS_TransactionTypeId, \r\n            T.ReasonId AS PAYM" +
                    "ENTS_ReasonId, \r\n            T.TerminalId AS PAYMENTS_TerminalId, \r\n            " +
                    "True AS _from0\r\n        FROM DominicaEntities.PAYMENTS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.DEPOSITS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView67()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.DEPOSITS", @"
    SELECT VALUE -- Constructing DEPOSITS
        [DominicaModel.Store.DEPOSITS](T3.DEPOSITS_Id, T3.DEPOSITS_BusinessDate, T3.DEPOSITS_TransactionDate, T3.DEPOSITS_EmployeeId, T3.DEPOSITS_Amount, T3.DEPOSITS_TerminalId, T3.DEPOSITS_Notes, T3.DEPOSITS_Type, T3.[DEPOSITS.BUSINESS_DAY_Id])
    FROM (
        SELECT T1.DEPOSITS_Id, T2.DEPOSITS_BusinessDate, T2.DEPOSITS_TransactionDate, T2.DEPOSITS_EmployeeId, T2.DEPOSITS_Amount, T2.DEPOSITS_TerminalId, T2.DEPOSITS_Notes, T2.DEPOSITS_Type, T1.[DEPOSITS.BUSINESS_DAY_Id], T2._from0, T1._from1
        FROM  (
            SELECT 
                Key(T.DEPOSIT).Id AS DEPOSITS_Id, 
                Key(T.BUSINESS_DAY).Id AS [DEPOSITS.BUSINESS_DAY_Id], 
                True AS _from1
            FROM DominicaEntities.ASSN_BUSINESS_DAY_DEPOSIT AS T) AS T1
            INNER JOIN (
            SELECT 
                T.Id AS DEPOSITS_Id, 
                T.BusinessDate AS DEPOSITS_BusinessDate, 
                T.TransactionDate AS DEPOSITS_TransactionDate, 
                T.EmployeeId AS DEPOSITS_EmployeeId, 
                T.Amount AS DEPOSITS_Amount, 
                T.TerminalId AS DEPOSITS_TerminalId, 
                T.Notes AS DEPOSITS_Notes, 
                T.Type AS DEPOSITS_Type, 
                True AS _from0
            FROM DominicaEntities.DEPOSITS AS T) AS T2
            ON T1.DEPOSITS_Id = T2.DEPOSITS_Id
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.NOSALES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView68()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.NOSALES", @"
    SELECT VALUE -- Constructing NOSALES
        [DominicaModel.Store.NOSALES](T1.NOSALES_Id, T1.NOSALES_DateTime, T1.NOSALES_UserId, T1.NOSALES_NavOrderId)
    FROM (
        SELECT 
            T.Id AS NOSALES_Id, 
            T.DateTime AS NOSALES_DateTime, 
            T.UserId AS NOSALES_UserId, 
            T.NavOrderId AS NOSALES_NavOrderId, 
            True AS _from0
        FROM DominicaEntities.NOSALES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.HOUSE_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView69()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2077);
            viewString.Append("\r\n    SELECT VALUE -- Constructing HOUSE_ACCOUNTS\r\n        [DominicaModel.Store.");
            viewString.Append("HOUSE_ACCOUNTS](T1.[HOUSE_ACCOUNTS.Id], T1.[HOUSE_ACCOUNTS.LastName], T1.[HOUSE_");
            viewString.Append("ACCOUNTS.FirstName], T1.[HOUSE_ACCOUNTS.Address1], T1.[HOUSE_ACCOUNTS.Address2],");
            viewString.Append(" T1.[HOUSE_ACCOUNTS.City], T1.[HOUSE_ACCOUNTS.State], T1.[HOUSE_ACCOUNTS.Zipcode");
            viewString.Append("], T1.[HOUSE_ACCOUNTS.Telephone], T1.[HOUSE_ACCOUNTS.TaxId], T1.[HOUSE_ACCOUNTS.");
            viewString.Append("CreateDate], T1.[HOUSE_ACCOUNTS.Active], T1.[HOUSE_ACCOUNTS.EmailAddress], T1.[H");
            viewString.Append("OUSE_ACCOUNTS.Name], T1.[HOUSE_ACCOUNTS.AccountLimit], T1.[HOUSE_ACCOUNTS.Accoun");
            viewString.Append("tTerms], T1.[HOUSE_ACCOUNTS.HasNoHighLimit], T1.[HOUSE_ACCOUNTS.Fax], T1.[HOUSE_");
            viewString.Append("ACCOUNTS.IsDeleted], T1.[HOUSE_ACCOUNTS.CellPhone], T1.[HOUSE_ACCOUNTS.IsVoucher");
            viewString.Append("], T1.[HOUSE_ACCOUNTS.IsCoupon])\r\n    FROM (\r\n        SELECT \r\n            T.Id ");
            viewString.Append("AS [HOUSE_ACCOUNTS.Id], \r\n            T.LastName AS [HOUSE_ACCOUNTS.LastName], \r");
            viewString.Append("\n            T.FirstName AS [HOUSE_ACCOUNTS.FirstName], \r\n            T.Address1");
            viewString.Append(" AS [HOUSE_ACCOUNTS.Address1], \r\n            T.Address2 AS [HOUSE_ACCOUNTS.Addre");
            viewString.Append("ss2], \r\n            T.City AS [HOUSE_ACCOUNTS.City], \r\n            T.State AS [H");
            viewString.Append("OUSE_ACCOUNTS.State], \r\n            T.Zipcode AS [HOUSE_ACCOUNTS.Zipcode], \r\n   ");
            viewString.Append("         T.Telephone AS [HOUSE_ACCOUNTS.Telephone], \r\n            T.TaxId AS [HO");
            viewString.Append("USE_ACCOUNTS.TaxId], \r\n            T.CreateDate AS [HOUSE_ACCOUNTS.CreateDate], ");
            viewString.Append("\r\n            T.Active AS [HOUSE_ACCOUNTS.Active], \r\n            T.EmailAddress ");
            viewString.Append("AS [HOUSE_ACCOUNTS.EmailAddress], \r\n            T.Name AS [HOUSE_ACCOUNTS.Name],");
            viewString.Append(" \r\n            T.AccountLimit AS [HOUSE_ACCOUNTS.AccountLimit], \r\n            T.");
            viewString.Append("AccountTerms AS [HOUSE_ACCOUNTS.AccountTerms], \r\n            T.HasNoHighLimit AS");
            viewString.Append(" [HOUSE_ACCOUNTS.HasNoHighLimit], \r\n            T.Fax AS [HOUSE_ACCOUNTS.Fax], \r");
            viewString.Append("\n            T.IsDeleted AS [HOUSE_ACCOUNTS.IsDeleted], \r\n            T.CellPhon");
            viewString.Append("e AS [HOUSE_ACCOUNTS.CellPhone], \r\n            T.IsVoucher AS [HOUSE_ACCOUNTS.Is");
            viewString.Append("Voucher], \r\n            T.IsCoupon AS [HOUSE_ACCOUNTS.IsCoupon], \r\n            T");
            viewString.Append("rue AS _from0\r\n        FROM DominicaEntities.HOUSE_ACCOUNTS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.HOUSE_ACCOUNTS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.BREAKS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView70()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.BREAKS", @"
    SELECT VALUE -- Constructing BREAKS
        [DominicaModel.Store.BREAKS](T1.BREAKS_Id, T1.BREAKS_BreakStart, T1.BREAKS_BreakStop, T1.BREAKS_NavTimePunchId)
    FROM (
        SELECT 
            T.Id AS BREAKS_Id, 
            T.BreakStart AS BREAKS_BreakStart, 
            T.BreakStop AS BREAKS_BreakStop, 
            T.NavTimePunchId AS BREAKS_NavTimePunchId, 
            True AS _from0
        FROM DominicaEntities.BREAKS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.GIFT_CARDS_SOLDS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView71()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.GIFT_CARDS_SOLDS", @"
    SELECT VALUE -- Constructing GIFT_CARDS_SOLDS
        [DominicaModel.Store.GIFT_CARDS_SOLDS](T1.[GIFT_CARDS_SOLDS.Id], T1.[GIFT_CARDS_SOLDS.DateStamp], T1.[GIFT_CARDS_SOLDS.CustomerId], T1.[GIFT_CARDS_SOLDS.Amount], T1.[GIFT_CARDS_SOLDS.NavOrderId], T1.[GIFT_CARDS_SOLDS.DaypartId], T1.[GIFT_CARDS_SOLDS.RevenueCenterId], T1.[GIFT_CARDS_SOLDS.GiftCardNumber], T1.[GIFT_CARDS_SOLDS.SaleId])
    FROM (
        SELECT 
            T.Id AS [GIFT_CARDS_SOLDS.Id], 
            T.DateStamp AS [GIFT_CARDS_SOLDS.DateStamp], 
            T.CustomerId AS [GIFT_CARDS_SOLDS.CustomerId], 
            T.Amount AS [GIFT_CARDS_SOLDS.Amount], 
            T.NavOrderId AS [GIFT_CARDS_SOLDS.NavOrderId], 
            T.DaypartId AS [GIFT_CARDS_SOLDS.DaypartId], 
            T.RevenueCenterId AS [GIFT_CARDS_SOLDS.RevenueCenterId], 
            T.GiftCardNumber AS [GIFT_CARDS_SOLDS.GiftCardNumber], 
            T.SaleId AS [GIFT_CARDS_SOLDS.SaleId], 
            True AS _from0
        FROM DominicaEntities.GIFT_CARDS_SOLDS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.SPECIALPAYS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView72()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.SPECIALPAYS", @"
    SELECT VALUE -- Constructing SPECIALPAYS
        [DominicaModel.Store.SPECIALPAYS](T3.SPECIALPAYS_Id, T3.SPECIALPAYS_SpecialPay, T3.SPECIALPAYS_SpecialPayname, T3.[SPECIALPAYS.TIMESLIP_Id])
    FROM (
        SELECT T1.SPECIALPAYS_Id, T2.SPECIALPAYS_SpecialPay, T2.SPECIALPAYS_SpecialPayname, T1.[SPECIALPAYS.TIMESLIP_Id], T2._from0, T1._from1
        FROM  (
            SELECT 
                Key(T.SPECIALPAY).Id AS SPECIALPAYS_Id, 
                Key(T.TIMEPUNCH).Id AS [SPECIALPAYS.TIMESLIP_Id], 
                True AS _from1
            FROM DominicaEntities.ASSN_TIMESLIP_SPECIALPAY AS T) AS T1
            INNER JOIN (
            SELECT 
                T.Id AS SPECIALPAYS_Id, 
                T.SpecialPay AS SPECIALPAYS_SpecialPay, 
                T.SpecialPayname AS SPECIALPAYS_SpecialPayname, 
                True AS _from0
            FROM DominicaEntities.SPECIALPAYS AS T) AS T2
            ON T1.SPECIALPAYS_Id = T2.SPECIALPAYS_Id
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ORDERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView73()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3271);
            viewString.Append("\r\n    SELECT VALUE -- Constructing ORDERS\r\n        [DominicaModel.ORDER](T1.ORDE");
            viewString.Append("R_Id, T1.ORDER_OpenDateStamp, T1.ORDER_CreatorId, T1.ORDER_CloserId, T1.ORDER_Ta");
            viewString.Append("bleName, T1.ORDER_GuestCount, T1.ORDER_ClosedDateStamp, T1.ORDER_ReservationTime");
            viewString.Append(", T1.ORDER_SitDownTime, T1.ORDER_FirstOrderTime, T1.ORDER_LastOrderTime, T1.ORDE");
            viewString.Append("R_FirstPrintTime, T1.ORDER_FirstPayTime, T1.ORDER_LastPayTime, T1.ORDER_UserId, ");
            viewString.Append("T1.ORDER_PrintCount, T1.ORDER_ReopenTime, T1.ORDER_ReopenByUserId, T1.ORDER_IsBa");
            viewString.Append("rSeat, T1.ORDER_CustomerName, T1.ORDER_HasHeadOfTable, T1.ORDER_TableInt, T1.ORD");
            viewString.Append("ER_CustomerId, T1.ORDER_KioskWhereCreatedId, T1.ORDER_NavEmployeeShiftId, T1.ORD");
            viewString.Append("ER_HasProductsOnHold, T1.ORDER_CheckCount, T1.ORDER_IsClosed, T1.ORDER_BusinessD");
            viewString.Append("ayId, T1.ORDER_CardOnFileExtId, T1.ORDER_HasCardOnFile, T1.ORDER_RevenueCenterId");
            viewString.Append(", T1.ORDER_HasTimedOut, T1.ORDER_LastAttentedToDateStamp, T1.ORDER_LastModifiedD");
            viewString.Append("ateStamp, T1.ORDER_SplitBySeatHasBeenApplied, T1.ORDER_UserChangedCheckSinceSpli");
            viewString.Append("tBySeat, T1.ORDER_EqualPayIsActive, T1.ORDER_EqualPayCount)\r\n    FROM (\r\n       ");
            viewString.Append(" SELECT \r\n            T.Id AS ORDER_Id, \r\n            T.OpenDateStamp AS ORDER_O");
            viewString.Append("penDateStamp, \r\n            T.CreatorId AS ORDER_CreatorId, \r\n            T.Clos");
            viewString.Append("erId AS ORDER_CloserId, \r\n            T.TableName AS ORDER_TableName, \r\n        ");
            viewString.Append("    T.GuestCount AS ORDER_GuestCount, \r\n            T.ClosedDateStamp AS ORDER_C");
            viewString.Append("losedDateStamp, \r\n            T.ReservationTime AS ORDER_ReservationTime, \r\n    ");
            viewString.Append("        T.SitDownTime AS ORDER_SitDownTime, \r\n            T.FirstOrderTime AS OR");
            viewString.Append("DER_FirstOrderTime, \r\n            T.LastOrderTime AS ORDER_LastOrderTime, \r\n    ");
            viewString.Append("        T.FirstPrintTime AS ORDER_FirstPrintTime, \r\n            T.FirstPayTime A");
            viewString.Append("S ORDER_FirstPayTime, \r\n            T.LastPayTime AS ORDER_LastPayTime, \r\n      ");
            viewString.Append("      T.UserId AS ORDER_UserId, \r\n            T.PrintCount AS ORDER_PrintCount, ");
            viewString.Append("\r\n            T.ReopenTime AS ORDER_ReopenTime, \r\n            T.ReopenByUserId A");
            viewString.Append("S ORDER_ReopenByUserId, \r\n            T.IsBarSeat AS ORDER_IsBarSeat, \r\n        ");
            viewString.Append("    T.CustomerName AS ORDER_CustomerName, \r\n            T.HasHeadOfTable AS ORDE");
            viewString.Append("R_HasHeadOfTable, \r\n            T.TableInt AS ORDER_TableInt, \r\n            T.Cu");
            viewString.Append("stomerId AS ORDER_CustomerId, \r\n            T.KioskWhereCreatedId AS ORDER_Kiosk");
            viewString.Append("WhereCreatedId, \r\n            T.NavEmployeeShiftId AS ORDER_NavEmployeeShiftId, ");
            viewString.Append("\r\n            T.HasProductsOnHold AS ORDER_HasProductsOnHold, \r\n            T.Ch");
            viewString.Append("eckCount AS ORDER_CheckCount, \r\n            T.IsClosed AS ORDER_IsClosed, \r\n    ");
            viewString.Append("        T.BusinessDayId AS ORDER_BusinessDayId, \r\n            T.CardOnFileExtId ");
            viewString.Append("AS ORDER_CardOnFileExtId, \r\n            T.HasCardOnFile AS ORDER_HasCardOnFile, ");
            viewString.Append("\r\n            T.RevenueCenterId AS ORDER_RevenueCenterId, \r\n            T.HasTim");
            viewString.Append("edOut AS ORDER_HasTimedOut, \r\n            T.LastAttentedToDateStamp AS ORDER_Las");
            viewString.Append("tAttentedToDateStamp, \r\n            T.LastModifiedDateStamp AS ORDER_LastModifie");
            viewString.Append("dDateStamp, \r\n            T.SplitBySeatHasBeenApplied AS ORDER_SplitBySeatHasBee");
            viewString.Append("nApplied, \r\n            T.UserChangedCheckSinceSplitBySeat AS ORDER_UserChangedC");
            viewString.Append("heckSinceSplitBySeat, \r\n            T.EqualPayIsActive AS ORDER_EqualPayIsActive");
            viewString.Append(", \r\n            T.EqualPayCount AS ORDER_EqualPayCount, \r\n            True AS _f");
            viewString.Append("rom0\r\n        FROM DominicaModelStoreContainer.ORDERS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ORDERS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.TIMESLIPS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView74()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.TIMESLIPS", "\r\n    SELECT VALUE -- Constructing TIMESLIPS\r\n        [DominicaModel.TIMESLIP](T1" +
                    ".TIMESLIP_Id, T1.TIMESLIP_ClockedIn, T1.TIMESLIP_ClockedOut, T1.TIMESLIP_IsDelet" +
                    "ed, T1.TIMESLIP_EditedByUserId, T1.TIMESLIP_WasEdited, T1.TIMESLIP_ClockedInDayp" +
                    "artId, T1.TIMESLIP_ClockedOutDaypartId, T1.TIMESLIP_RoleId, T1.TIMESLIP_ClockedI" +
                    "nKioskId, T1.TIMESLIP_ClockedOutKioskId, T1.TIMESLIP_UserId, T1.TIMESLIP_Revenue" +
                    "CenterId, T1.TIMESLIP_CashTipsClaimed, T1.TIMESLIP_WasAutoClockedOut) WITH \r\n   " +
                    "     RELATIONSHIP(CREATEREF(DominicaEntities.SHIFTS, ROW(T1.[ASSN_TIMESLIP_SHIFT" +
                    ".SHIFT.Id]),[DominicaModel.SHIFT]),[DominicaModel.ASSN_TIMESLIP_SHIFT],TIMESLIP," +
                    "SHIFT) \r\n    FROM (\r\n        SELECT \r\n            T.Id AS TIMESLIP_Id, \r\n       " +
                    "     T.ClockedIn AS TIMESLIP_ClockedIn, \r\n            T.ClockedOut AS TIMESLIP_C" +
                    "lockedOut, \r\n            T.IsDeleted AS TIMESLIP_IsDeleted, \r\n            T.Edit" +
                    "edByUserId AS TIMESLIP_EditedByUserId, \r\n            T.WasEdited AS TIMESLIP_Was" +
                    "Edited, \r\n            T.ClockedInDaypartId AS TIMESLIP_ClockedInDaypartId, \r\n   " +
                    "         T.ClockedOutDaypartId AS TIMESLIP_ClockedOutDaypartId, \r\n            T." +
                    "RoleId AS TIMESLIP_RoleId, \r\n            T.ClockedInKioskId AS TIMESLIP_ClockedI" +
                    "nKioskId, \r\n            T.ClockedOutKioskId AS TIMESLIP_ClockedOutKioskId, \r\n   " +
                    "         T.UserId AS TIMESLIP_UserId, \r\n            T.RevenueCenterId AS TIMESLI" +
                    "P_RevenueCenterId, \r\n            T.CashTipsClaimed AS TIMESLIP_CashTipsClaimed, " +
                    "\r\n            T.WasAutoClockedOut AS TIMESLIP_WasAutoClockedOut, \r\n            T" +
                    "rue AS _from0, \r\n            T.SHIFT_Id AS [ASSN_TIMESLIP_SHIFT.SHIFT.Id]\r\n     " +
                    "   FROM DominicaModelStoreContainer.TIMESLIPS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.TRANSACTIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView75()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2365);
            viewString.Append("\r\n    SELECT VALUE -- Constructing TRANSACTIONS\r\n        [DominicaModel.TRANSACT");
            viewString.Append("ION](T1.TRANSACTION_Id, T1.TRANSACTION_Base, T1.TRANSACTION_CustomerName, T1.TRA");
            viewString.Append("NSACTION_TransactionType, T1.TRANSACTION_OpenDateStamp, T1.TRANSACTION_WasAutoTi");
            viewString.Append("pped, T1.TRANSACTION_TenderMemo, T1.TRANSACTION_TransactionTypeId, T1.TRANSACTIO");
            viewString.Append("N_NavOrderId, T1.TRANSACTION_PaidAtRevenueCenterId, T1.TRANSACTION_CustomerId, T");
            viewString.Append("1.TRANSACTION_OwningCheckNumber, T1.TRANSACTION_LastModifiedDateStamp, T1.TRANSA");
            viewString.Append("CTION_UserId, T1.TRANSACTION_Gratuity, T1.TRANSACTION_Change, T1.TRANSACTION_Ext");
            viewString.Append("Id, T1.TRANSACTION_LastModifiedUserId, T1.TRANSACTION_IsBatched, T1.TRANSACTION_");
            viewString.Append("BusinessDayId, T1.TRANSACTION_NavHouseAccountId, T1.TRANSACTION_WasVoided, T1.TR");
            viewString.Append("ANSACTION_TenderType, T1.TRANSACTION_CreditCardTipFee, T1.TRANSACTION_TerminalId");
            viewString.Append(")\r\n    FROM (\r\n        SELECT \r\n            T.Id AS TRANSACTION_Id, \r\n          ");
            viewString.Append("  T.Base AS TRANSACTION_Base, \r\n            T.CustomerName AS TRANSACTION_Custom");
            viewString.Append("erName, \r\n            T.TransactionType AS TRANSACTION_TransactionType, \r\n      ");
            viewString.Append("      T.OpenDateStamp AS TRANSACTION_OpenDateStamp, \r\n            T.WasAutoTippe");
            viewString.Append("d AS TRANSACTION_WasAutoTipped, \r\n            T.TenderMemo AS TRANSACTION_Tender");
            viewString.Append("Memo, \r\n            T.TransactionTypeId AS TRANSACTION_TransactionTypeId, \r\n    ");
            viewString.Append("        T.NavOrderId AS TRANSACTION_NavOrderId, \r\n            T.PaidAtRevenueCen");
            viewString.Append("terId AS TRANSACTION_PaidAtRevenueCenterId, \r\n            T.CustomerId AS TRANSA");
            viewString.Append("CTION_CustomerId, \r\n            T.OwningCheckNumber AS TRANSACTION_OwningCheckNu");
            viewString.Append("mber, \r\n            T.LastModifiedDateStamp AS TRANSACTION_LastModifiedDateStamp");
            viewString.Append(", \r\n            T.UserId AS TRANSACTION_UserId, \r\n            T.Gratuity AS TRAN");
            viewString.Append("SACTION_Gratuity, \r\n            T.Change AS TRANSACTION_Change, \r\n            T.");
            viewString.Append("ExtId AS TRANSACTION_ExtId, \r\n            T.LastModifiedUserId AS TRANSACTION_La");
            viewString.Append("stModifiedUserId, \r\n            T.IsBatched AS TRANSACTION_IsBatched, \r\n        ");
            viewString.Append("    T.BusinessDayId AS TRANSACTION_BusinessDayId, \r\n            T.NavHouseAccoun");
            viewString.Append("tId AS TRANSACTION_NavHouseAccountId, \r\n            T.WasVoided AS TRANSACTION_W");
            viewString.Append("asVoided, \r\n            T.TenderType AS TRANSACTION_TenderType, \r\n            T.");
            viewString.Append("CreditCardTipFee AS TRANSACTION_CreditCardTipFee, \r\n            T.TerminalId AS ");
            viewString.Append("TRANSACTION_TerminalId, \r\n            True AS _from0\r\n        FROM DominicaModel");
            viewString.Append("StoreContainer.TRANSACTIONS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.TRANSACTIONS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.SHIFTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView76()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.SHIFTS", @"
    SELECT VALUE -- Constructing SHIFTS
        [DominicaModel.SHIFT](T1.SHIFT_Id, T1.SHIFT_DrawerStart, T1.SHIFT_IsComplete, T1.SHIFT_DateStamp, T1.SHIFT_UserId, T1.SHIFT_OpenDrawerCount, T1.SHIFT_IsLocked, T1.SHIFT_LastKioskId, T1.SHIFT_MyDrawerOwnershipStatus, T1.SHIFT_MyDrawerOwnerTermId, T1.SHIFT_IsClockedIn, T1.SHIFT_IsOnBreak, T1.SHIFT_NavBusinessDayId, T1.SHIFT_WorkCenterId, T1.SHIFT_Notes)
    FROM (
        SELECT 
            T.Id AS SHIFT_Id, 
            T.DrawerStart AS SHIFT_DrawerStart, 
            T.IsComplete AS SHIFT_IsComplete, 
            T.DateStamp AS SHIFT_DateStamp, 
            T.UserId AS SHIFT_UserId, 
            T.OpenDrawerCount AS SHIFT_OpenDrawerCount, 
            T.IsLocked AS SHIFT_IsLocked, 
            T.LastKioskId AS SHIFT_LastKioskId, 
            T.MyDrawerOwnershipStatus AS SHIFT_MyDrawerOwnershipStatus, 
            T.MyDrawerOwnerTermId AS SHIFT_MyDrawerOwnerTermId, 
            T.IsClockedIn AS SHIFT_IsClockedIn, 
            T.IsOnBreak AS SHIFT_IsOnBreak, 
            T.NavBusinessDayId AS SHIFT_NavBusinessDayId, 
            T.WorkCenterId AS SHIFT_WorkCenterId, 
            T.Notes AS SHIFT_Notes, 
            True AS _from0
        FROM DominicaModelStoreContainer.SHIFTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.BUSINESS_DAYS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView77()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.BUSINESS_DAYS", @"
    SELECT VALUE -- Constructing BUSINESS_DAYS
        [DominicaModel.BUSINESS_DAY](T1.[BUSINESS_DAY.Id], T1.[BUSINESS_DAY.IsComplete], T1.[BUSINESS_DAY.CheckoutDateStamp], T1.[BUSINESS_DAY.BusinessDayDateStamp], T1.[BUSINESS_DAY.CloseoutKioskId], T1.[BUSINESS_DAY.BatchSummaryId], T1.[BUSINESS_DAY.BatchCloseId], T1.[BUSINESS_DAY.AMNotes], T1.[BUSINESS_DAY.WeatherSummary], T1.[BUSINESS_DAY.LunchNotes], T1.[BUSINESS_DAY.PMNotes])
    FROM (
        SELECT 
            T.Id AS [BUSINESS_DAY.Id], 
            T.IsComplete AS [BUSINESS_DAY.IsComplete], 
            T.CheckoutDateStamp AS [BUSINESS_DAY.CheckoutDateStamp], 
            T.BusinessDayDateStamp AS [BUSINESS_DAY.BusinessDayDateStamp], 
            T.CloseoutKioskId AS [BUSINESS_DAY.CloseoutKioskId], 
            T.BatchSummaryId AS [BUSINESS_DAY.BatchSummaryId], 
            T.BatchCloseId AS [BUSINESS_DAY.BatchCloseId], 
            T.AMNotes AS [BUSINESS_DAY.AMNotes], 
            T.WeatherSummary AS [BUSINESS_DAY.WeatherSummary], 
            T.LunchNotes AS [BUSINESS_DAY.LunchNotes], 
            T.PMNotes AS [BUSINESS_DAY.PMNotes], 
            True AS _from0
        FROM DominicaModelStoreContainer.BUSINESS_DAYS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.SALES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView78()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(4628);
            viewString.Append("\r\n    SELECT VALUE -- Constructing SALES\r\n        [DominicaModel.SALE](T1.SALE_I");
            viewString.Append("d, T1.SALE_ProductId, T1.SALE_ProductsMainCatId, T1.SALE_CountsAsSalesRevenue, T");
            viewString.Append("1.SALE_MenuPrice, T1.SALE_IsForcedModifier, T1.SALE_ProductName, T1.SALE_NoteFor");
            viewString.Append("Print, T1.SALE_PrinterGroupingId, T1.SALE_OnHold, T1.SALE_IsForcedProduct, T1.SA");
            viewString.Append("LE_PrintJobId, T1.SALE_OwningSeatNumber, T1.SALE_OwningCheckNumber, T1.SALE_IsEx");
            viewString.Append("ceptionModifier, T1.SALE_NavOrderId, T1.SALE_ProductIsDiscountable, T1.SALE_Sku,");
            viewString.Append(" T1.SALE_UserId, T1.SALE_Ordermode, T1.SALE_CountOrdered, T1.SALE_BumpbarPrepare");
            viewString.Append("dTimed, T1.SALE_RevenueCenterId, T1.SALE_DaypartId, T1.SALE_IsWithout, T1.SALE_N");
            viewString.Append("oteForPrintBeforeHold, T1.SALE_HoldMinutes, T1.SALE_FirstOrderedDateTime, T1.SAL");
            viewString.Append("E_LastOrderedDateTime, T1.SALE_CountPendingKitchenSend, T1.SALE_CheckSequenceNum");
            viewString.Append("ber, T1.SALE_NavParentSaleWhenModSaleId, T1.SALE_ActualPrice, T1.SALE_ExclusiveT");
            viewString.Append("axRate, T1.SALE_WasVoided, T1.SALE_DiscountId, T1.SALE_DiscountManagerId, T1.SAL");
            viewString.Append("E_SurchargeManagerId, T1.SALE_DiscountRate, T1.SALE_SurchargeRate, T1.SALE_AutoG");
            viewString.Append("ratuityRate, T1.SALE_AutoGratuityId, T1.SALE_ExclusiveTaxRateId, T1.SALE_Inclusi");
            viewString.Append("veTaxRateId, T1.SALE_SurchargeId, T1.SALE_SeatSequenceNumber, T1.SALE_Notes, T1.");
            viewString.Append("SALE_WasCompedInEntire, T1.SALE_InclusiveTaxRate, T1.SALE_SurchargeAmountFlatFee");
            viewString.Append(", T1.SALE_IsSeeServer, T1.SALE_ApplyAutoGratToMenuPrice, T1.SALE_DiscountApplied");
            viewString.Append("AtCheckLevel, T1.SALE_RevenueTypeId, T1.SALE_IsGiftCardSale)\r\n    FROM (\r\n      ");
            viewString.Append("  SELECT \r\n            T.Id AS SALE_Id, \r\n            T.ProductId AS SALE_Produc");
            viewString.Append("tId, \r\n            T.ProductsMainCatId AS SALE_ProductsMainCatId, \r\n            ");
            viewString.Append("T.CountsAsSalesRevenue AS SALE_CountsAsSalesRevenue, \r\n            T.MenuPrice A");
            viewString.Append("S SALE_MenuPrice, \r\n            T.IsForcedModifier AS SALE_IsForcedModifier, \r\n ");
            viewString.Append("           T.ProductName AS SALE_ProductName, \r\n            T.NoteForPrint AS SA");
            viewString.Append("LE_NoteForPrint, \r\n            T.PrinterGroupingId AS SALE_PrinterGroupingId, \r\n");
            viewString.Append("            T.OnHold AS SALE_OnHold, \r\n            T.IsForcedProduct AS SALE_IsF");
            viewString.Append("orcedProduct, \r\n            T.PrintJobId AS SALE_PrintJobId, \r\n            T.Own");
            viewString.Append("ingSeatNumber AS SALE_OwningSeatNumber, \r\n            T.OwningCheckNumber AS SAL");
            viewString.Append("E_OwningCheckNumber, \r\n            T.IsExceptionModifier AS SALE_IsExceptionModi");
            viewString.Append("fier, \r\n            T.NavOrderId AS SALE_NavOrderId, \r\n            T.ProductIsDi");
            viewString.Append("scountable AS SALE_ProductIsDiscountable, \r\n            T.Sku AS SALE_Sku, \r\n   ");
            viewString.Append("         T.UserId AS SALE_UserId, \r\n            T.Ordermode AS SALE_Ordermode, \r");
            viewString.Append("\n            T.CountOrdered AS SALE_CountOrdered, \r\n            T.BumpbarPrepare");
            viewString.Append("dTimed AS SALE_BumpbarPreparedTimed, \r\n            T.RevenueCenterId AS SALE_Rev");
            viewString.Append("enueCenterId, \r\n            T.DaypartId AS SALE_DaypartId, \r\n            T.IsWit");
            viewString.Append("hout AS SALE_IsWithout, \r\n            T.NoteForPrintBeforeHold AS SALE_NoteForPr");
            viewString.Append("intBeforeHold, \r\n            T.HoldMinutes AS SALE_HoldMinutes, \r\n            T.");
            viewString.Append("FirstOrderedDateTime AS SALE_FirstOrderedDateTime, \r\n            T.LastOrderedDa");
            viewString.Append("teTime AS SALE_LastOrderedDateTime, \r\n            T.CountPendingKitchenSend AS S");
            viewString.Append("ALE_CountPendingKitchenSend, \r\n            T.CheckSequenceNumber AS SALE_CheckSe");
            viewString.Append("quenceNumber, \r\n            T.NavParentSaleWhenModSaleId AS SALE_NavParentSaleWh");
            viewString.Append("enModSaleId, \r\n            T.ActualPrice AS SALE_ActualPrice, \r\n            T.Ex");
            viewString.Append("clusiveTaxRate AS SALE_ExclusiveTaxRate, \r\n            T.WasVoided AS SALE_WasVo");
            viewString.Append("ided, \r\n            T.DiscountId AS SALE_DiscountId, \r\n            T.DiscountMan");
            viewString.Append("agerId AS SALE_DiscountManagerId, \r\n            T.SurchargeManagerId AS SALE_Sur");
            viewString.Append("chargeManagerId, \r\n            T.DiscountRate AS SALE_DiscountRate, \r\n          ");
            viewString.Append("  T.SurchargeRate AS SALE_SurchargeRate, \r\n            T.AutoGratuityRate AS SAL");
            viewString.Append("E_AutoGratuityRate, \r\n            T.AutoGratuityId AS SALE_AutoGratuityId, \r\n   ");
            viewString.Append("         T.ExclusiveTaxRateId AS SALE_ExclusiveTaxRateId, \r\n            T.Inclus");
            viewString.Append("iveTaxRateId AS SALE_InclusiveTaxRateId, \r\n            T.SurchargeId AS SALE_Sur");
            viewString.Append("chargeId, \r\n            T.SeatSequenceNumber AS SALE_SeatSequenceNumber, \r\n     ");
            viewString.Append("       T.Notes AS SALE_Notes, \r\n            T.WasCompedInEntire AS SALE_WasCompe");
            viewString.Append("dInEntire, \r\n            T.InclusiveTaxRate AS SALE_InclusiveTaxRate, \r\n        ");
            viewString.Append("    T.SurchargeAmountFlatFee AS SALE_SurchargeAmountFlatFee, \r\n            T.IsS");
            viewString.Append("eeServer AS SALE_IsSeeServer, \r\n            T.ApplyAutoGratToMenuPrice AS SALE_A");
            viewString.Append("pplyAutoGratToMenuPrice, \r\n            T.DiscountAppliedAtCheckLevel AS SALE_Dis");
            viewString.Append("countAppliedAtCheckLevel, \r\n            T.RevenueTypeId AS SALE_RevenueTypeId, \r");
            viewString.Append("\n            T.IsGiftCardSale AS SALE_IsGiftCardSale, \r\n            True AS _fro");
            viewString.Append("m0\r\n        FROM DominicaModelStoreContainer.SALES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.SALES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PAYMENTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView79()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PAYMENTS", "\r\n    SELECT VALUE -- Constructing PAYMENTS\r\n        [DominicaModel.PAYMENT](T1.P" +
                    "AYMENT_Id, T1.PAYMENT_EmployeeId, T1.PAYMENT_TransactionDate, T1.PAYMENT_Details" +
                    ", T1.PAYMENT_AffectsCash, T1.PAYMENT_Amount, T1.PAYMENT_WasChangeFromVoucher, T1" +
                    ".PAYMENT_WasChangeFromGiftCard, T1.PAYMENT_WasCreditCardAdvance, T1.PAYMENT_NavE" +
                    "mployeeShiftId, T1.PAYMENT_TransactionType, T1.PAYMENT_WasDrawerStart, T1.PAYMEN" +
                    "T_WasDrawerEnd, T1.PAYMENT_WasPaidIn, T1.PAYMENT_DaypartId, T1.PAYMENT_RevenueCe" +
                    "nterId, T1.PAYMENT_UserId, T1.PAYMENT_TransactionTypeId, T1.PAYMENT_ReasonId, T1" +
                    ".PAYMENT_TerminalId)\r\n    FROM (\r\n        SELECT \r\n            T.Id AS PAYMENT_I" +
                    "d, \r\n            T.EmployeeId AS PAYMENT_EmployeeId, \r\n            T.Transaction" +
                    "Date AS PAYMENT_TransactionDate, \r\n            T.Details AS PAYMENT_Details, \r\n " +
                    "           T.AffectsCash AS PAYMENT_AffectsCash, \r\n            T.Amount AS PAYME" +
                    "NT_Amount, \r\n            T.WasChangeFromVoucher AS PAYMENT_WasChangeFromVoucher," +
                    " \r\n            T.WasChangeFromGiftCard AS PAYMENT_WasChangeFromGiftCard, \r\n     " +
                    "       T.WasCreditCardAdvance AS PAYMENT_WasCreditCardAdvance, \r\n            T.N" +
                    "avEmployeeShiftId AS PAYMENT_NavEmployeeShiftId, \r\n            T.TransactionType" +
                    " AS PAYMENT_TransactionType, \r\n            T.WasDrawerStart AS PAYMENT_WasDrawer" +
                    "Start, \r\n            T.WasDrawerEnd AS PAYMENT_WasDrawerEnd, \r\n            T.Was" +
                    "PaidIn AS PAYMENT_WasPaidIn, \r\n            T.DaypartId AS PAYMENT_DaypartId, \r\n " +
                    "           T.RevenueCenterId AS PAYMENT_RevenueCenterId, \r\n            T.UserId " +
                    "AS PAYMENT_UserId, \r\n            T.TransactionTypeId AS PAYMENT_TransactionTypeI" +
                    "d, \r\n            T.ReasonId AS PAYMENT_ReasonId, \r\n            T.TerminalId AS P" +
                    "AYMENT_TerminalId, \r\n            True AS _from0\r\n        FROM DominicaModelStore" +
                    "Container.PAYMENTS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.DEPOSITS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView80()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.DEPOSITS", @"
    SELECT VALUE -- Constructing DEPOSITS
        [DominicaModel.DEPOSIT](T1.DEPOSIT_Id, T1.DEPOSIT_BusinessDate, T1.DEPOSIT_TransactionDate, T1.DEPOSIT_EmployeeId, T1.DEPOSIT_Amount, T1.DEPOSIT_TerminalId, T1.DEPOSIT_Notes, T1.DEPOSIT_Type) WITH 
        RELATIONSHIP(CREATEREF(DominicaEntities.BUSINESS_DAYS, ROW(T1.[ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY.Id]),[DominicaModel.BUSINESS_DAY]),[DominicaModel.ASSN_BUSINESS_DAY_DEPOSIT],DEPOSIT,BUSINESS_DAY) 
    FROM (
        SELECT 
            T.Id AS DEPOSIT_Id, 
            T.BusinessDate AS DEPOSIT_BusinessDate, 
            T.TransactionDate AS DEPOSIT_TransactionDate, 
            T.EmployeeId AS DEPOSIT_EmployeeId, 
            T.Amount AS DEPOSIT_Amount, 
            T.TerminalId AS DEPOSIT_TerminalId, 
            T.Notes AS DEPOSIT_Notes, 
            T.Type AS DEPOSIT_Type, 
            True AS _from0, 
            T.BUSINESS_DAY_Id AS [ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY.Id]
        FROM DominicaModelStoreContainer.DEPOSITS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.NOSALES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView81()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.NOSALES", @"
    SELECT VALUE -- Constructing NOSALES
        [DominicaModel.NOSALE](T1.NOSALE_Id, T1.NOSALE_DateTime, T1.NOSALE_UserId, T1.NOSALE_NavOrderId)
    FROM (
        SELECT 
            T.Id AS NOSALE_Id, 
            T.DateTime AS NOSALE_DateTime, 
            T.UserId AS NOSALE_UserId, 
            T.NavOrderId AS NOSALE_NavOrderId, 
            True AS _from0
        FROM DominicaModelStoreContainer.NOSALES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.HOUSE_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView82()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.HOUSE_ACCOUNTS", "\r\n    SELECT VALUE -- Constructing HOUSE_ACCOUNTS\r\n        [DominicaModel.HOUSE_A" +
                    "CCOUNT](T1.[HOUSE_ACCOUNT.Id], T1.[HOUSE_ACCOUNT.LastName], T1.[HOUSE_ACCOUNT.Fi" +
                    "rstName], T1.[HOUSE_ACCOUNT.Address1], T1.[HOUSE_ACCOUNT.Address2], T1.[HOUSE_AC" +
                    "COUNT.City], T1.[HOUSE_ACCOUNT.State], T1.[HOUSE_ACCOUNT.Zipcode], T1.[HOUSE_ACC" +
                    "OUNT.Telephone], T1.[HOUSE_ACCOUNT.TaxId], T1.[HOUSE_ACCOUNT.CreateDate], T1.[HO" +
                    "USE_ACCOUNT.Active], T1.[HOUSE_ACCOUNT.EmailAddress], T1.[HOUSE_ACCOUNT.Name], T" +
                    "1.[HOUSE_ACCOUNT.AccountLimit], T1.[HOUSE_ACCOUNT.AccountTerms], T1.[HOUSE_ACCOU" +
                    "NT.HasNoHighLimit], T1.[HOUSE_ACCOUNT.Fax], T1.[HOUSE_ACCOUNT.IsDeleted], T1.[HO" +
                    "USE_ACCOUNT.CellPhone], T1.[HOUSE_ACCOUNT.IsVoucher], T1.[HOUSE_ACCOUNT.IsCoupon" +
                    "])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [HOUSE_ACCOUNT.Id], \r\n     " +
                    "       T.LastName AS [HOUSE_ACCOUNT.LastName], \r\n            T.FirstName AS [HOU" +
                    "SE_ACCOUNT.FirstName], \r\n            T.Address1 AS [HOUSE_ACCOUNT.Address1], \r\n " +
                    "           T.Address2 AS [HOUSE_ACCOUNT.Address2], \r\n            T.City AS [HOUS" +
                    "E_ACCOUNT.City], \r\n            T.State AS [HOUSE_ACCOUNT.State], \r\n            T" +
                    ".Zipcode AS [HOUSE_ACCOUNT.Zipcode], \r\n            T.Telephone AS [HOUSE_ACCOUNT" +
                    ".Telephone], \r\n            T.TaxId AS [HOUSE_ACCOUNT.TaxId], \r\n            T.Cre" +
                    "ateDate AS [HOUSE_ACCOUNT.CreateDate], \r\n            T.Active AS [HOUSE_ACCOUNT." +
                    "Active], \r\n            T.EmailAddress AS [HOUSE_ACCOUNT.EmailAddress], \r\n       " +
                    "     T.Name AS [HOUSE_ACCOUNT.Name], \r\n            T.AccountLimit AS [HOUSE_ACCO" +
                    "UNT.AccountLimit], \r\n            T.AccountTerms AS [HOUSE_ACCOUNT.AccountTerms]," +
                    " \r\n            T.HasNoHighLimit AS [HOUSE_ACCOUNT.HasNoHighLimit], \r\n           " +
                    " T.Fax AS [HOUSE_ACCOUNT.Fax], \r\n            T.IsDeleted AS [HOUSE_ACCOUNT.IsDel" +
                    "eted], \r\n            T.CellPhone AS [HOUSE_ACCOUNT.CellPhone], \r\n            T.I" +
                    "sVoucher AS [HOUSE_ACCOUNT.IsVoucher], \r\n            T.IsCoupon AS [HOUSE_ACCOUN" +
                    "T.IsCoupon], \r\n            True AS _from0\r\n        FROM DominicaModelStoreContai" +
                    "ner.HOUSE_ACCOUNTS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.BREAKS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView83()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.BREAKS", @"
    SELECT VALUE -- Constructing BREAKS
        [DominicaModel.BREAK](T1.BREAK_Id, T1.BREAK_BreakStart, T1.BREAK_BreakStop, T1.BREAK_NavTimePunchId)
    FROM (
        SELECT 
            T.Id AS BREAK_Id, 
            T.BreakStart AS BREAK_BreakStart, 
            T.BreakStop AS BREAK_BreakStop, 
            T.NavTimePunchId AS BREAK_NavTimePunchId, 
            True AS _from0
        FROM DominicaModelStoreContainer.BREAKS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.GIFT_CARDS_SOLDS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView84()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.GIFT_CARDS_SOLDS", @"
    SELECT VALUE -- Constructing GIFT_CARDS_SOLDS
        [DominicaModel.GIFT_CARDS_SOLD](T1.[GIFT_CARDS_SOLD.Id], T1.[GIFT_CARDS_SOLD.DateStamp], T1.[GIFT_CARDS_SOLD.CustomerId], T1.[GIFT_CARDS_SOLD.Amount], T1.[GIFT_CARDS_SOLD.NavOrderId], T1.[GIFT_CARDS_SOLD.DaypartId], T1.[GIFT_CARDS_SOLD.RevenueCenterId], T1.[GIFT_CARDS_SOLD.GiftCardNumber], T1.[GIFT_CARDS_SOLD.SaleId])
    FROM (
        SELECT 
            T.Id AS [GIFT_CARDS_SOLD.Id], 
            T.DateStamp AS [GIFT_CARDS_SOLD.DateStamp], 
            T.CustomerId AS [GIFT_CARDS_SOLD.CustomerId], 
            T.Amount AS [GIFT_CARDS_SOLD.Amount], 
            T.NavOrderId AS [GIFT_CARDS_SOLD.NavOrderId], 
            T.DaypartId AS [GIFT_CARDS_SOLD.DaypartId], 
            T.RevenueCenterId AS [GIFT_CARDS_SOLD.RevenueCenterId], 
            T.GiftCardNumber AS [GIFT_CARDS_SOLD.GiftCardNumber], 
            T.SaleId AS [GIFT_CARDS_SOLD.SaleId], 
            True AS _from0
        FROM DominicaModelStoreContainer.GIFT_CARDS_SOLDS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.SPECIALPAYS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView85()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.SPECIALPAYS", @"
    SELECT VALUE -- Constructing SPECIALPAYS
        [DominicaModel.SPECIALPAY](T1.SPECIALPAY_Id, T1.SPECIALPAY_SpecialPay, T1.SPECIALPAY_SpecialPayname) WITH 
        RELATIONSHIP(CREATEREF(DominicaEntities.TIMESLIPS, ROW(T1.[ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH.Id]),[DominicaModel.TIMESLIP]),[DominicaModel.ASSN_TIMESLIP_SPECIALPAY],SPECIALPAY,TIMEPUNCH) 
    FROM (
        SELECT 
            T.Id AS SPECIALPAY_Id, 
            T.SpecialPay AS SPECIALPAY_SpecialPay, 
            T.SpecialPayname AS SPECIALPAY_SpecialPayname, 
            True AS _from0, 
            T.TIMESLIP_Id AS [ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH.Id]
        FROM DominicaModelStoreContainer.SPECIALPAYS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_TIMESLIP_SPECIALPAY
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView86()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_TIMESLIP_SPECIALPAY", @"
    SELECT VALUE -- Constructing ASSN_TIMESLIP_SPECIALPAY
        [DominicaModel.ASSN_TIMESLIP_SPECIALPAY](T3.[ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH], T3.[ASSN_TIMESLIP_SPECIALPAY.SPECIALPAY])
    FROM (
        SELECT -- Constructing TIMEPUNCH
            CreateRef(DominicaEntities.TIMESLIPS, row(T2.[ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH.Id]),[DominicaModel.TIMESLIP]) AS [ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH], 
            T2.[ASSN_TIMESLIP_SPECIALPAY.SPECIALPAY]
        FROM (
            SELECT -- Constructing SPECIALPAY
                CreateRef(DominicaEntities.SPECIALPAYS, row(T1.[ASSN_TIMESLIP_SPECIALPAY.SPECIALPAY.Id]),[DominicaModel.SPECIALPAY]) AS [ASSN_TIMESLIP_SPECIALPAY.SPECIALPAY], 
                T1.[ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH.Id]
            FROM (
                SELECT 
                    T.TIMESLIP_Id AS [ASSN_TIMESLIP_SPECIALPAY.TIMEPUNCH.Id], 
                    T.Id AS [ASSN_TIMESLIP_SPECIALPAY.SPECIALPAY.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.SPECIALPAYS AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_TIMESLIP_SHIFT
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView87()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_TIMESLIP_SHIFT", @"
    SELECT VALUE -- Constructing ASSN_TIMESLIP_SHIFT
        [DominicaModel.ASSN_TIMESLIP_SHIFT](T3.[ASSN_TIMESLIP_SHIFT.TIMESLIP], T3.[ASSN_TIMESLIP_SHIFT.SHIFT])
    FROM (
        SELECT -- Constructing TIMESLIP
            CreateRef(DominicaEntities.TIMESLIPS, row(T2.[ASSN_TIMESLIP_SHIFT.TIMESLIP.Id]),[DominicaModel.TIMESLIP]) AS [ASSN_TIMESLIP_SHIFT.TIMESLIP], 
            T2.[ASSN_TIMESLIP_SHIFT.SHIFT]
        FROM (
            SELECT -- Constructing SHIFT
                CreateRef(DominicaEntities.SHIFTS, row(T1.[ASSN_TIMESLIP_SHIFT.SHIFT.Id]),[DominicaModel.SHIFT]) AS [ASSN_TIMESLIP_SHIFT.SHIFT], 
                T1.[ASSN_TIMESLIP_SHIFT.TIMESLIP.Id]
            FROM (
                SELECT 
                    T.Id AS [ASSN_TIMESLIP_SHIFT.TIMESLIP.Id], 
                    T.SHIFT_Id AS [ASSN_TIMESLIP_SHIFT.SHIFT.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.TIMESLIPS AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ASSN_BUSINESS_DAY_DEPOSIT
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView88()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ASSN_BUSINESS_DAY_DEPOSIT", @"
    SELECT VALUE -- Constructing ASSN_BUSINESS_DAY_DEPOSIT
        [DominicaModel.ASSN_BUSINESS_DAY_DEPOSIT](T3.[ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY], T3.[ASSN_BUSINESS_DAY_DEPOSIT.DEPOSIT])
    FROM (
        SELECT -- Constructing BUSINESS_DAY
            CreateRef(DominicaEntities.BUSINESS_DAYS, row(T2.[ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY.Id]),[DominicaModel.BUSINESS_DAY]) AS [ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY], 
            T2.[ASSN_BUSINESS_DAY_DEPOSIT.DEPOSIT]
        FROM (
            SELECT -- Constructing DEPOSIT
                CreateRef(DominicaEntities.DEPOSITS, row(T1.[ASSN_BUSINESS_DAY_DEPOSIT.DEPOSIT.Id]),[DominicaModel.DEPOSIT]) AS [ASSN_BUSINESS_DAY_DEPOSIT.DEPOSIT], 
                T1.[ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY.Id]
            FROM (
                SELECT 
                    T.BUSINESS_DAY_Id AS [ASSN_BUSINESS_DAY_DEPOSIT.BUSINESS_DAY.Id], 
                    T.Id AS [ASSN_BUSINESS_DAY_DEPOSIT.DEPOSIT.Id], 
                    True AS _from0
                FROM DominicaModelStoreContainer.DEPOSITS AS T
            ) AS T1
        ) AS T2
    ) AS T3");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.SYSCONFIGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView89()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3419);
            viewString.Append("\r\n    SELECT VALUE -- Constructing SYSCONFIGS\r\n        [DominicaModel.Store.SYSC");
            viewString.Append("ONFIGS](T1.SYSCONFIGS_Id, T1.SYSCONFIGS_UserMagSwipeToken, T1.SYSCONFIGS_CanAcce");
            viewString.Append("ptTips, T1.SYSCONFIGS_DbVersion, T1.SYSCONFIGS_ReceiptLine1, T1.SYSCONFIGS_Recei");
            viewString.Append("ptLine2, T1.SYSCONFIGS_ReceiptLine3, T1.SYSCONFIGS_ReceiptLine4, T1.SYSCONFIGS_F");
            viewString.Append("orceOrderOnScreenTimeout, T1.SYSCONFIGS_ScreenLockTimeout, T1.SYSCONFIGS_PrintQu");
            viewString.Append("eueTimeout, T1.SYSCONFIGS_StoreId, T1.SYSCONFIGS_HouseHasCashier, T1.SYSCONFIGS_");
            viewString.Append("CreditCardTipFeeAsRate, T1.SYSCONFIGS_CreditCardTipFeeAsTransaction, T1.SYSCONFI");
            viewString.Append("GS_TopReceiptMessage, T1.SYSCONFIGS_BottomReceiptMessage, T1.SYSCONFIGS_Business");
            viewString.Append("DayOfWeekStartDay, T1.SYSCONFIGS_BusinessDayStartTime, T1.SYSCONFIGS_IncludeDisc");
            viewString.Append("ountsInNetSales, T1.SYSCONFIGS_CurrentBusinessDayId, T1.SYSCONFIGS_IsBeingEdited");
            viewString.Append(", T1.SYSCONFIGS_EditedByUserId, T1.SYSCONFIGS_EditedOnKioskId, T1.SYSCONFIGS_Tab");
            viewString.Append("leRecheckMinutes, T1.SYSCONFIGS_AllowCardOnFile, T1.SYSCONFIGS_OrderTimeoutInMin");
            viewString.Append("utes, T1.SYSCONFIGS_AllowDuplicateTables, T1.SYSCONFIGS_DailyHighWaterMark, T1.S");
            viewString.Append("YSCONFIGS_EmailManagersAtHighWater, T1.SYSCONFIGS_UseRealTimeReportSync, T1.SYSC");
            viewString.Append("ONFIGS_TrainingDbConnection)\r\n    FROM (\r\n        SELECT \r\n            T.Id AS S");
            viewString.Append("YSCONFIGS_Id, \r\n            T.UserMagSwipeToken AS SYSCONFIGS_UserMagSwipeToken,");
            viewString.Append(" \r\n            T.CanAcceptTips AS SYSCONFIGS_CanAcceptTips, \r\n            T.DbVe");
            viewString.Append("rsion AS SYSCONFIGS_DbVersion, \r\n            T.ReceiptLine1 AS SYSCONFIGS_Receip");
            viewString.Append("tLine1, \r\n            T.ReceiptLine2 AS SYSCONFIGS_ReceiptLine2, \r\n            T");
            viewString.Append(".ReceiptLine3 AS SYSCONFIGS_ReceiptLine3, \r\n            T.ReceiptLine4 AS SYSCON");
            viewString.Append("FIGS_ReceiptLine4, \r\n            T.ForceOrderOnScreenTimeout AS SYSCONFIGS_Force");
            viewString.Append("OrderOnScreenTimeout, \r\n            T.ScreenLockTimeout AS SYSCONFIGS_ScreenLock");
            viewString.Append("Timeout, \r\n            T.PrintQueueTimeout AS SYSCONFIGS_PrintQueueTimeout, \r\n  ");
            viewString.Append("          T.StoreId AS SYSCONFIGS_StoreId, \r\n            T.HouseHasCashier AS SY");
            viewString.Append("SCONFIGS_HouseHasCashier, \r\n            T.CreditCardTipFeeAsRate AS SYSCONFIGS_C");
            viewString.Append("reditCardTipFeeAsRate, \r\n            T.CreditCardTipFeeAsTransaction AS SYSCONFI");
            viewString.Append("GS_CreditCardTipFeeAsTransaction, \r\n            T.TopReceiptMessage AS SYSCONFIG");
            viewString.Append("S_TopReceiptMessage, \r\n            T.BottomReceiptMessage AS SYSCONFIGS_BottomRe");
            viewString.Append("ceiptMessage, \r\n            T.BusinessDayOfWeekStartDay AS SYSCONFIGS_BusinessDa");
            viewString.Append("yOfWeekStartDay, \r\n            T.BusinessDayStartTime AS SYSCONFIGS_BusinessDayS");
            viewString.Append("tartTime, \r\n            T.IncludeDiscountsInNetSales AS SYSCONFIGS_IncludeDiscou");
            viewString.Append("ntsInNetSales, \r\n            T.CurrentBusinessDayId AS SYSCONFIGS_CurrentBusines");
            viewString.Append("sDayId, \r\n            T.IsBeingEdited AS SYSCONFIGS_IsBeingEdited, \r\n           ");
            viewString.Append(" T.EditedByUserId AS SYSCONFIGS_EditedByUserId, \r\n            T.EditedOnKioskId ");
            viewString.Append("AS SYSCONFIGS_EditedOnKioskId, \r\n            T.TableRecheckMinutes AS SYSCONFIGS");
            viewString.Append("_TableRecheckMinutes, \r\n            T.AllowCardOnFile AS SYSCONFIGS_AllowCardOnF");
            viewString.Append("ile, \r\n            T.OrderTimeoutInMinutes AS SYSCONFIGS_OrderTimeoutInMinutes, ");
            viewString.Append("\r\n            T.AllowDuplicateTables AS SYSCONFIGS_AllowDuplicateTables, \r\n     ");
            viewString.Append("       T.DailyHighWaterMark AS SYSCONFIGS_DailyHighWaterMark, \r\n            T.Em");
            viewString.Append("ailManagersAtHighWater AS SYSCONFIGS_EmailManagersAtHighWater, \r\n            T.U");
            viewString.Append("seRealTimeReportSync AS SYSCONFIGS_UseRealTimeReportSync, \r\n            T.Traini");
            viewString.Append("ngDbConnection AS SYSCONFIGS_TrainingDbConnection, \r\n            True AS _from0\r");
            viewString.Append("\n        FROM DominicaEntities.SYSCONFIGS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.SYSCONFIGS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.SYSCONFIGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView90()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(3359);
            viewString.Append("\r\n    SELECT VALUE -- Constructing SYSCONFIGS\r\n        [DominicaModel.SYSCONFIG]");
            viewString.Append("(T1.SYSCONFIG_Id, T1.SYSCONFIG_UserMagSwipeToken, T1.SYSCONFIG_CanAcceptTips, T1");
            viewString.Append(".SYSCONFIG_DbVersion, T1.SYSCONFIG_ReceiptLine1, T1.SYSCONFIG_ReceiptLine2, T1.S");
            viewString.Append("YSCONFIG_ReceiptLine3, T1.SYSCONFIG_ReceiptLine4, T1.SYSCONFIG_ForceOrderOnScree");
            viewString.Append("nTimeout, T1.SYSCONFIG_ScreenLockTimeout, T1.SYSCONFIG_PrintQueueTimeout, T1.SYS");
            viewString.Append("CONFIG_StoreId, T1.SYSCONFIG_HouseHasCashier, T1.SYSCONFIG_CreditCardTipFeeAsRat");
            viewString.Append("e, T1.SYSCONFIG_CreditCardTipFeeAsTransaction, T1.SYSCONFIG_TopReceiptMessage, T");
            viewString.Append("1.SYSCONFIG_BottomReceiptMessage, T1.SYSCONFIG_BusinessDayOfWeekStartDay, T1.SYS");
            viewString.Append("CONFIG_BusinessDayStartTime, T1.SYSCONFIG_IncludeDiscountsInNetSales, T1.SYSCONF");
            viewString.Append("IG_CurrentBusinessDayId, T1.SYSCONFIG_IsBeingEdited, T1.SYSCONFIG_EditedByUserId");
            viewString.Append(", T1.SYSCONFIG_EditedOnKioskId, T1.SYSCONFIG_TableRecheckMinutes, T1.SYSCONFIG_A");
            viewString.Append("llowCardOnFile, T1.SYSCONFIG_OrderTimeoutInMinutes, T1.SYSCONFIG_AllowDuplicateT");
            viewString.Append("ables, T1.SYSCONFIG_DailyHighWaterMark, T1.SYSCONFIG_EmailManagersAtHighWater, T");
            viewString.Append("1.SYSCONFIG_UseRealTimeReportSync, T1.SYSCONFIG_TrainingDbConnection)\r\n    FROM ");
            viewString.Append("(\r\n        SELECT \r\n            T.Id AS SYSCONFIG_Id, \r\n            T.UserMagSwi");
            viewString.Append("peToken AS SYSCONFIG_UserMagSwipeToken, \r\n            T.CanAcceptTips AS SYSCONF");
            viewString.Append("IG_CanAcceptTips, \r\n            T.DbVersion AS SYSCONFIG_DbVersion, \r\n          ");
            viewString.Append("  T.ReceiptLine1 AS SYSCONFIG_ReceiptLine1, \r\n            T.ReceiptLine2 AS SYSC");
            viewString.Append("ONFIG_ReceiptLine2, \r\n            T.ReceiptLine3 AS SYSCONFIG_ReceiptLine3, \r\n  ");
            viewString.Append("          T.ReceiptLine4 AS SYSCONFIG_ReceiptLine4, \r\n            T.ForceOrderOn");
            viewString.Append("ScreenTimeout AS SYSCONFIG_ForceOrderOnScreenTimeout, \r\n            T.ScreenLock");
            viewString.Append("Timeout AS SYSCONFIG_ScreenLockTimeout, \r\n            T.PrintQueueTimeout AS SYS");
            viewString.Append("CONFIG_PrintQueueTimeout, \r\n            T.StoreId AS SYSCONFIG_StoreId, \r\n      ");
            viewString.Append("      T.HouseHasCashier AS SYSCONFIG_HouseHasCashier, \r\n            T.CreditCard");
            viewString.Append("TipFeeAsRate AS SYSCONFIG_CreditCardTipFeeAsRate, \r\n            T.CreditCardTipF");
            viewString.Append("eeAsTransaction AS SYSCONFIG_CreditCardTipFeeAsTransaction, \r\n            T.TopR");
            viewString.Append("eceiptMessage AS SYSCONFIG_TopReceiptMessage, \r\n            T.BottomReceiptMessa");
            viewString.Append("ge AS SYSCONFIG_BottomReceiptMessage, \r\n            T.BusinessDayOfWeekStartDay ");
            viewString.Append("AS SYSCONFIG_BusinessDayOfWeekStartDay, \r\n            T.BusinessDayStartTime AS ");
            viewString.Append("SYSCONFIG_BusinessDayStartTime, \r\n            T.IncludeDiscountsInNetSales AS SY");
            viewString.Append("SCONFIG_IncludeDiscountsInNetSales, \r\n            T.CurrentBusinessDayId AS SYSC");
            viewString.Append("ONFIG_CurrentBusinessDayId, \r\n            T.IsBeingEdited AS SYSCONFIG_IsBeingEd");
            viewString.Append("ited, \r\n            T.EditedByUserId AS SYSCONFIG_EditedByUserId, \r\n            ");
            viewString.Append("T.EditedOnKioskId AS SYSCONFIG_EditedOnKioskId, \r\n            T.TableRecheckMinu");
            viewString.Append("tes AS SYSCONFIG_TableRecheckMinutes, \r\n            T.AllowCardOnFile AS SYSCONF");
            viewString.Append("IG_AllowCardOnFile, \r\n            T.OrderTimeoutInMinutes AS SYSCONFIG_OrderTime");
            viewString.Append("outInMinutes, \r\n            T.AllowDuplicateTables AS SYSCONFIG_AllowDuplicateTa");
            viewString.Append("bles, \r\n            T.DailyHighWaterMark AS SYSCONFIG_DailyHighWaterMark, \r\n    ");
            viewString.Append("        T.EmailManagersAtHighWater AS SYSCONFIG_EmailManagersAtHighWater, \r\n    ");
            viewString.Append("        T.UseRealTimeReportSync AS SYSCONFIG_UseRealTimeReportSync, \r\n          ");
            viewString.Append("  T.TrainingDbConnection AS SYSCONFIG_TrainingDbConnection, \r\n            True A");
            viewString.Append("S _from0\r\n        FROM DominicaModelStoreContainer.SYSCONFIGS AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.SYSCONFIGS", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PROCESSORS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView91()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PROCESSORS", @"
    SELECT VALUE -- Constructing PROCESSORS
        [DominicaModel.Store.PROCESSORS](T1.PROCESSORS_Id, T1.PROCESSORS_MerchantId, T1.PROCESSORS_ProcessorType, T1.PROCESSORS_Password, T1.PROCESSORS_CardType, T1.PROCESSORS_IsSelected, T1.PROCESSORS_CfgFile, T1.PROCESSORS_EP1, T1.PROCESSORS_EP2, T1.PROCESSORS_AllowPartial, T1.PROCESSORS_PinDebitCom, T1.PROCESSORS_ExtDevicePrompt, T1.PROCESSORS_IsRetail, T1.PROCESSORS_AutoTipGiftTransactions, T1.PROCESSORS_AutoTipRate, T1.PROCESSORS_QuickServiceHighTicket)
    FROM (
        SELECT 
            T.Id AS PROCESSORS_Id, 
            T.MerchantId AS PROCESSORS_MerchantId, 
            T.ProcessorType AS PROCESSORS_ProcessorType, 
            T.Password AS PROCESSORS_Password, 
            T.CardType AS PROCESSORS_CardType, 
            T.IsSelected AS PROCESSORS_IsSelected, 
            T.CfgFile AS PROCESSORS_CfgFile, 
            T.EP1 AS PROCESSORS_EP1, 
            T.EP2 AS PROCESSORS_EP2, 
            T.AllowPartial AS PROCESSORS_AllowPartial, 
            T.PinDebitCom AS PROCESSORS_PinDebitCom, 
            T.ExtDevicePrompt AS PROCESSORS_ExtDevicePrompt, 
            T.IsRetail AS PROCESSORS_IsRetail, 
            T.AutoTipGiftTransactions AS PROCESSORS_AutoTipGiftTransactions, 
            T.AutoTipRate AS PROCESSORS_AutoTipRate, 
            T.QuickServiceHighTicket AS PROCESSORS_QuickServiceHighTicket, 
            True AS _from0
        FROM DominicaEntities.PROCESSORS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PROCESSORS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView92()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PROCESSORS", @"
    SELECT VALUE -- Constructing PROCESSORS
        [DominicaModel.PROCESSOR](T1.PROCESSOR_Id, T1.PROCESSOR_MerchantId, T1.PROCESSOR_ProcessorType, T1.PROCESSOR_Password, T1.PROCESSOR_CardType, T1.PROCESSOR_IsSelected, T1.PROCESSOR_CfgFile, T1.PROCESSOR_EP1, T1.PROCESSOR_EP2, T1.PROCESSOR_AllowPartial, T1.PROCESSOR_PinDebitCom, T1.PROCESSOR_ExtDevicePrompt, T1.PROCESSOR_IsRetail, T1.PROCESSOR_AutoTipGiftTransactions, T1.PROCESSOR_AutoTipRate, T1.PROCESSOR_QuickServiceHighTicket)
    FROM (
        SELECT 
            T.Id AS PROCESSOR_Id, 
            T.MerchantId AS PROCESSOR_MerchantId, 
            T.ProcessorType AS PROCESSOR_ProcessorType, 
            T.Password AS PROCESSOR_Password, 
            T.CardType AS PROCESSOR_CardType, 
            T.IsSelected AS PROCESSOR_IsSelected, 
            T.CfgFile AS PROCESSOR_CfgFile, 
            T.EP1 AS PROCESSOR_EP1, 
            T.EP2 AS PROCESSOR_EP2, 
            T.AllowPartial AS PROCESSOR_AllowPartial, 
            T.PinDebitCom AS PROCESSOR_PinDebitCom, 
            T.ExtDevicePrompt AS PROCESSOR_ExtDevicePrompt, 
            T.IsRetail AS PROCESSOR_IsRetail, 
            T.AutoTipGiftTransactions AS PROCESSOR_AutoTipGiftTransactions, 
            T.AutoTipRate AS PROCESSOR_AutoTipRate, 
            T.QuickServiceHighTicket AS PROCESSOR_QuickServiceHighTicket, 
            True AS _from0
        FROM DominicaModelStoreContainer.PROCESSORS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PCILOGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView93()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PCILOGS", @"
    SELECT VALUE -- Constructing PCILOGS
        [DominicaModel.Store.PCILOGS](T1.PCILOGS_Id, T1.PCILOGS_DateStamp, T1.PCILOGS_Action, T1.PCILOGS_UserId)
    FROM (
        SELECT 
            T.Id AS PCILOGS_Id, 
            T.DateStamp AS PCILOGS_DateStamp, 
            T.Action AS PCILOGS_Action, 
            T.UserId AS PCILOGS_UserId, 
            True AS _from0
        FROM DominicaEntities.PCILOGS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PCILOGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView94()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PCILOGS", @"
    SELECT VALUE -- Constructing PCILOGS
        [DominicaModel.PCILOG](T1.PCILOG_Id, T1.PCILOG_DateStamp, T1.PCILOG_Action, T1.PCILOG_UserId)
    FROM (
        SELECT 
            T.Id AS PCILOG_Id, 
            T.DateStamp AS PCILOG_DateStamp, 
            T.Action AS PCILOG_Action, 
            T.UserId AS PCILOG_UserId, 
            True AS _from0
        FROM DominicaModelStoreContainer.PCILOGS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PAYROLL_RUNS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView95()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PAYROLL_RUNS", @"
    SELECT VALUE -- Constructing PAYROLL_RUNS
        [DominicaModel.Store.PAYROLL_RUNS](T1.[PAYROLL_RUNS.Id], T1.[PAYROLL_RUNS.StartDate], T1.[PAYROLL_RUNS.EndDate], T1.[PAYROLL_RUNS.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [PAYROLL_RUNS.Id], 
            T.StartDate AS [PAYROLL_RUNS.StartDate], 
            T.EndDate AS [PAYROLL_RUNS.EndDate], 
            T.IsDeleted AS [PAYROLL_RUNS.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.PAYROLL_RUNS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PAYROLL_RUNS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView96()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PAYROLL_RUNS", @"
    SELECT VALUE -- Constructing PAYROLL_RUNS
        [DominicaModel.PAYROLL_RUN](T1.[PAYROLL_RUN.Id], T1.[PAYROLL_RUN.StartDate], T1.[PAYROLL_RUN.EndDate], T1.[PAYROLL_RUN.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [PAYROLL_RUN.Id], 
            T.StartDate AS [PAYROLL_RUN.StartDate], 
            T.EndDate AS [PAYROLL_RUN.EndDate], 
            T.IsDeleted AS [PAYROLL_RUN.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.PAYROLL_RUNS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.REVENUE_TYPES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView97()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.REVENUE_TYPES", @"
    SELECT VALUE -- Constructing REVENUE_TYPES
        [DominicaModel.Store.REVENUE_TYPES](T1.[REVENUE_TYPES.Id], T1.[REVENUE_TYPES.Name], T1.[REVENUE_TYPES.IsDeleted], T1.[REVENUE_TYPES.IncludedInNetSales])
    FROM (
        SELECT 
            T.Id AS [REVENUE_TYPES.Id], 
            T.Name AS [REVENUE_TYPES.Name], 
            T.IsDeleted AS [REVENUE_TYPES.IsDeleted], 
            T.IncludedInNetSales AS [REVENUE_TYPES.IncludedInNetSales], 
            True AS _from0
        FROM DominicaEntities.REVENUE_TYPES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.REVENUE_TYPES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView98()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.REVENUE_TYPES", @"
    SELECT VALUE -- Constructing REVENUE_TYPES
        [DominicaModel.REVENUE_TYPE](T1.[REVENUE_TYPE.Id], T1.[REVENUE_TYPE.Name], T1.[REVENUE_TYPE.IsDeleted], T1.[REVENUE_TYPE.IncludedInNetSales])
    FROM (
        SELECT 
            T.Id AS [REVENUE_TYPE.Id], 
            T.Name AS [REVENUE_TYPE.Name], 
            T.IsDeleted AS [REVENUE_TYPE.IsDeleted], 
            T.IncludedInNetSales AS [REVENUE_TYPE.IncludedInNetSales], 
            True AS _from0
        FROM DominicaModelStoreContainer.REVENUE_TYPES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.DAYPARTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView99()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.DAYPARTS", @"
    SELECT VALUE -- Constructing DAYPARTS
        [DominicaModel.Store.DAYPARTS](T1.DAYPARTS_Id, T1.DAYPARTS_IsDeleted, T1.DAYPARTS_Name, T1.DAYPARTS_StartTime, T1.DAYPARTS_EndTime, T1.DAYPARTS_IsDefault, T1.DAYPARTS_DaypartOrdinal)
    FROM (
        SELECT 
            T.Id AS DAYPARTS_Id, 
            T.IsDeleted AS DAYPARTS_IsDeleted, 
            T.Name AS DAYPARTS_Name, 
            T.StartTime AS DAYPARTS_StartTime, 
            T.EndTime AS DAYPARTS_EndTime, 
            T.IsDefault AS DAYPARTS_IsDefault, 
            T.DaypartOrdinal AS DAYPARTS_DaypartOrdinal, 
            True AS _from0
        FROM DominicaEntities.DAYPARTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.DAYPARTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView100()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.DAYPARTS", @"
    SELECT VALUE -- Constructing DAYPARTS
        [DominicaModel.DAYPART](T1.DAYPART_Id, T1.DAYPART_IsDeleted, T1.DAYPART_Name, T1.DAYPART_StartTime, T1.DAYPART_EndTime, T1.DAYPART_IsDefault, T1.DAYPART_DaypartOrdinal)
    FROM (
        SELECT 
            T.Id AS DAYPART_Id, 
            T.IsDeleted AS DAYPART_IsDeleted, 
            T.Name AS DAYPART_Name, 
            T.StartTime AS DAYPART_StartTime, 
            T.EndTime AS DAYPART_EndTime, 
            T.IsDefault AS DAYPART_IsDefault, 
            T.DaypartOrdinal AS DAYPART_DaypartOrdinal, 
            True AS _from0
        FROM DominicaModelStoreContainer.DAYPARTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.USER_ACTIONS_LOGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView101()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.USER_ACTIONS_LOGS", @"
    SELECT VALUE -- Constructing USER_ACTIONS_LOGS
        [DominicaModel.Store.USER_ACTIONS_LOGS](T1.[USER_ACTIONS_LOGS.Id], T1.[USER_ACTIONS_LOGS.DateStamp], T1.[USER_ACTIONS_LOGS.Action], T1.[USER_ACTIONS_LOGS.UserId], T1.[USER_ACTIONS_LOGS.AssociatedId])
    FROM (
        SELECT 
            T.Id AS [USER_ACTIONS_LOGS.Id], 
            T.DateStamp AS [USER_ACTIONS_LOGS.DateStamp], 
            T.Action AS [USER_ACTIONS_LOGS.Action], 
            T.UserId AS [USER_ACTIONS_LOGS.UserId], 
            T.AssociatedId AS [USER_ACTIONS_LOGS.AssociatedId], 
            True AS _from0
        FROM DominicaEntities.USER_ACTIONS_LOGS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.USER_ACTIONS_LOGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView102()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.USER_ACTIONS_LOGS", @"
    SELECT VALUE -- Constructing USER_ACTIONS_LOGS
        [DominicaModel.USER_ACTIONS_LOG](T1.[USER_ACTIONS_LOG.Id], T1.[USER_ACTIONS_LOG.DateStamp], T1.[USER_ACTIONS_LOG.Action], T1.[USER_ACTIONS_LOG.UserId], T1.[USER_ACTIONS_LOG.AssociatedId])
    FROM (
        SELECT 
            T.Id AS [USER_ACTIONS_LOG.Id], 
            T.DateStamp AS [USER_ACTIONS_LOG.DateStamp], 
            T.Action AS [USER_ACTIONS_LOG.Action], 
            T.UserId AS [USER_ACTIONS_LOG.UserId], 
            T.AssociatedId AS [USER_ACTIONS_LOG.AssociatedId], 
            True AS _from0
        FROM DominicaModelStoreContainer.USER_ACTIONS_LOGS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.REVENUE_CENTERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView103()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.REVENUE_CENTERS", @"
    SELECT VALUE -- Constructing REVENUE_CENTERS
        [DominicaModel.Store.REVENUE_CENTERS](T1.[REVENUE_CENTERS.Id], T1.[REVENUE_CENTERS.Name], T1.[REVENUE_CENTERS.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [REVENUE_CENTERS.Id], 
            T.Name AS [REVENUE_CENTERS.Name], 
            T.IsDeleted AS [REVENUE_CENTERS.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.REVENUE_CENTERS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.REVENUE_CENTERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView104()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.REVENUE_CENTERS", @"
    SELECT VALUE -- Constructing REVENUE_CENTERS
        [DominicaModel.REVENUE_CENTER](T1.[REVENUE_CENTER.Id], T1.[REVENUE_CENTER.Name], T1.[REVENUE_CENTER.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [REVENUE_CENTER.Id], 
            T.Name AS [REVENUE_CENTER.Name], 
            T.IsDeleted AS [REVENUE_CENTER.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.REVENUE_CENTERS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.RECIPE_PRODUCTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView105()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.RECIPE_PRODUCTS", @"
    SELECT VALUE -- Constructing RECIPE_PRODUCTS
        [DominicaModel.Store.RECIPE_PRODUCTS](T1.[RECIPE_PRODUCTS.Id], T1.[RECIPE_PRODUCTS.IsDeleted], T1.[RECIPE_PRODUCTS.Count], T1.[RECIPE_PRODUCTS.ConversionUnit], T1.[RECIPE_PRODUCTS.ContainerSize], T1.[RECIPE_PRODUCTS.InventoryTakingUnit], T1.[RECIPE_PRODUCTS.Name], T1.[RECIPE_PRODUCTS.GLCodeId], T1.[RECIPE_PRODUCTS.SKU], T1.[RECIPE_PRODUCTS.PLU], T1.[RECIPE_PRODUCTS.UPC])
    FROM (
        SELECT 
            T.Id AS [RECIPE_PRODUCTS.Id], 
            T.IsDeleted AS [RECIPE_PRODUCTS.IsDeleted], 
            T.Count AS [RECIPE_PRODUCTS.Count], 
            T.ConversionUnit AS [RECIPE_PRODUCTS.ConversionUnit], 
            T.ContainerSize AS [RECIPE_PRODUCTS.ContainerSize], 
            T.InventoryTakingUnit AS [RECIPE_PRODUCTS.InventoryTakingUnit], 
            T.Name AS [RECIPE_PRODUCTS.Name], 
            T.GLCodeId AS [RECIPE_PRODUCTS.GLCodeId], 
            T.SKU AS [RECIPE_PRODUCTS.SKU], 
            T.PLU AS [RECIPE_PRODUCTS.PLU], 
            T.UPC AS [RECIPE_PRODUCTS.UPC], 
            True AS _from0
        FROM DominicaEntities.RECIPE_PRODUCTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.RECIPES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView106()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.RECIPES", @"
    SELECT VALUE -- Constructing RECIPES
        [DominicaModel.Store.RECIPES](T1.RECIPES_Id, T1.RECIPES_IsDeleted, T1.RECIPES_Name)
    FROM (
        SELECT 
            T.Id AS RECIPES_Id, 
            T.IsDeleted AS RECIPES_IsDeleted, 
            T.Name AS RECIPES_Name, 
            True AS _from0
        FROM DominicaEntities.RECIPES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.RECIPE_INGREDIENTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView107()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.RECIPE_INGREDIENTS", @"
    SELECT VALUE -- Constructing RECIPE_INGREDIENTS
        [DominicaModel.Store.RECIPE_INGREDIENTS](T1.[RECIPE_INGREDIENTS.Id], T1.[RECIPE_INGREDIENTS.Amount], T1.[RECIPE_INGREDIENTS.IsDeleted], T1.[RECIPE_INGREDIENTS.Name], T1.[RECIPE_INGREDIENTS.Count], T1.[RECIPE_INGREDIENTS.NavRecipeProductId], T1.[RECIPE_INGREDIENTS.NavRecipeId])
    FROM (
        SELECT 
            T.Id AS [RECIPE_INGREDIENTS.Id], 
            T.Amount AS [RECIPE_INGREDIENTS.Amount], 
            T.IsDeleted AS [RECIPE_INGREDIENTS.IsDeleted], 
            T.Name AS [RECIPE_INGREDIENTS.Name], 
            T.Count AS [RECIPE_INGREDIENTS.Count], 
            T.NavRecipeProductId AS [RECIPE_INGREDIENTS.NavRecipeProductId], 
            T.NavRecipeId AS [RECIPE_INGREDIENTS.NavRecipeId], 
            True AS _from0
        FROM DominicaEntities.RECIPE_INGREDIENTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.INVENTORY_COUNT_LOGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView108()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.INVENTORY_COUNT_LOGS", @"
    SELECT VALUE -- Constructing INVENTORY_COUNT_LOGS
        [DominicaModel.Store.INVENTORY_COUNT_LOGS](T1.[INVENTORY_COUNT_LOGS.Id], T1.[INVENTORY_COUNT_LOGS.OriginalCount], T1.[INVENTORY_COUNT_LOGS.NewCount], T1.[INVENTORY_COUNT_LOGS.PricePerUnit], T1.[INVENTORY_COUNT_LOGS.InventoryDate], T1.[INVENTORY_COUNT_LOGS.UserId], T1.[INVENTORY_COUNT_LOGS.StorageLocation], T1.[INVENTORY_COUNT_LOGS.Notes], T1.[INVENTORY_COUNT_LOGS.NavRecipeProductId], T1.[INVENTORY_COUNT_LOGS.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [INVENTORY_COUNT_LOGS.Id], 
            T.OriginalCount AS [INVENTORY_COUNT_LOGS.OriginalCount], 
            T.NewCount AS [INVENTORY_COUNT_LOGS.NewCount], 
            T.PricePerUnit AS [INVENTORY_COUNT_LOGS.PricePerUnit], 
            T.InventoryDate AS [INVENTORY_COUNT_LOGS.InventoryDate], 
            T.UserId AS [INVENTORY_COUNT_LOGS.UserId], 
            T.StorageLocation AS [INVENTORY_COUNT_LOGS.StorageLocation], 
            T.Notes AS [INVENTORY_COUNT_LOGS.Notes], 
            T.NavRecipeProductId AS [INVENTORY_COUNT_LOGS.NavRecipeProductId], 
            T.IsDeleted AS [INVENTORY_COUNT_LOGS.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.INVENTORY_COUNT_LOGS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.RECIPE_PRODUCTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView109()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.RECIPE_PRODUCTS", @"
    SELECT VALUE -- Constructing RECIPE_PRODUCTS
        [DominicaModel.RECIPE_PRODUCT](T1.[RECIPE_PRODUCT.Id], T1.[RECIPE_PRODUCT.IsDeleted], T1.[RECIPE_PRODUCT.Count], T1.[RECIPE_PRODUCT.ConversionUnit], T1.[RECIPE_PRODUCT.ContainerSize], T1.[RECIPE_PRODUCT.InventoryTakingUnit], T1.[RECIPE_PRODUCT.Name], T1.[RECIPE_PRODUCT.GLCodeId], T1.[RECIPE_PRODUCT.SKU], T1.[RECIPE_PRODUCT.PLU], T1.[RECIPE_PRODUCT.UPC])
    FROM (
        SELECT 
            T.Id AS [RECIPE_PRODUCT.Id], 
            T.IsDeleted AS [RECIPE_PRODUCT.IsDeleted], 
            T.Count AS [RECIPE_PRODUCT.Count], 
            T.ConversionUnit AS [RECIPE_PRODUCT.ConversionUnit], 
            T.ContainerSize AS [RECIPE_PRODUCT.ContainerSize], 
            T.InventoryTakingUnit AS [RECIPE_PRODUCT.InventoryTakingUnit], 
            T.Name AS [RECIPE_PRODUCT.Name], 
            T.GLCodeId AS [RECIPE_PRODUCT.GLCodeId], 
            T.SKU AS [RECIPE_PRODUCT.SKU], 
            T.PLU AS [RECIPE_PRODUCT.PLU], 
            T.UPC AS [RECIPE_PRODUCT.UPC], 
            True AS _from0
        FROM DominicaModelStoreContainer.RECIPE_PRODUCTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.RECIPES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView110()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.RECIPES", @"
    SELECT VALUE -- Constructing RECIPES
        [DominicaModel.RECIPE](T1.RECIPE_Id, T1.RECIPE_IsDeleted, T1.RECIPE_Name)
    FROM (
        SELECT 
            T.Id AS RECIPE_Id, 
            T.IsDeleted AS RECIPE_IsDeleted, 
            T.Name AS RECIPE_Name, 
            True AS _from0
        FROM DominicaModelStoreContainer.RECIPES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.RECIPE_INGREDIENTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView111()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.RECIPE_INGREDIENTS", @"
    SELECT VALUE -- Constructing RECIPE_INGREDIENTS
        [DominicaModel.RECIPE_INGREDIENT](T1.[RECIPE_INGREDIENT.Id], T1.[RECIPE_INGREDIENT.Amount], T1.[RECIPE_INGREDIENT.IsDeleted], T1.[RECIPE_INGREDIENT.Name], T1.[RECIPE_INGREDIENT.Count], T1.[RECIPE_INGREDIENT.NavRecipeProductId], T1.[RECIPE_INGREDIENT.NavRecipeId])
    FROM (
        SELECT 
            T.Id AS [RECIPE_INGREDIENT.Id], 
            T.Amount AS [RECIPE_INGREDIENT.Amount], 
            T.IsDeleted AS [RECIPE_INGREDIENT.IsDeleted], 
            T.Name AS [RECIPE_INGREDIENT.Name], 
            T.Count AS [RECIPE_INGREDIENT.Count], 
            T.NavRecipeProductId AS [RECIPE_INGREDIENT.NavRecipeProductId], 
            T.NavRecipeId AS [RECIPE_INGREDIENT.NavRecipeId], 
            True AS _from0
        FROM DominicaModelStoreContainer.RECIPE_INGREDIENTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.INVENTORY_COUNT_LOGS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView112()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.INVENTORY_COUNT_LOGS", @"
    SELECT VALUE -- Constructing INVENTORY_COUNT_LOGS
        [DominicaModel.INVENTORY_COUNT_LOG](T1.[INVENTORY_COUNT_LOG.Id], T1.[INVENTORY_COUNT_LOG.OriginalCount], T1.[INVENTORY_COUNT_LOG.NewCount], T1.[INVENTORY_COUNT_LOG.PricePerUnit], T1.[INVENTORY_COUNT_LOG.InventoryDate], T1.[INVENTORY_COUNT_LOG.UserId], T1.[INVENTORY_COUNT_LOG.StorageLocation], T1.[INVENTORY_COUNT_LOG.Notes], T1.[INVENTORY_COUNT_LOG.NavRecipeProductId], T1.[INVENTORY_COUNT_LOG.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [INVENTORY_COUNT_LOG.Id], 
            T.OriginalCount AS [INVENTORY_COUNT_LOG.OriginalCount], 
            T.NewCount AS [INVENTORY_COUNT_LOG.NewCount], 
            T.PricePerUnit AS [INVENTORY_COUNT_LOG.PricePerUnit], 
            T.InventoryDate AS [INVENTORY_COUNT_LOG.InventoryDate], 
            T.UserId AS [INVENTORY_COUNT_LOG.UserId], 
            T.StorageLocation AS [INVENTORY_COUNT_LOG.StorageLocation], 
            T.Notes AS [INVENTORY_COUNT_LOG.Notes], 
            T.NavRecipeProductId AS [INVENTORY_COUNT_LOG.NavRecipeProductId], 
            T.IsDeleted AS [INVENTORY_COUNT_LOG.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.INVENTORY_COUNT_LOGS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.INVOICE_LINE_ITEMS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView113()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.INVOICE_LINE_ITEMS", "\r\n    SELECT VALUE -- Constructing INVOICE_LINE_ITEMS\r\n        [DominicaModel.Sto" +
                    "re.INVOICE_LINE_ITEMS](T1.[INVOICE_LINE_ITEMS.Id], T1.[INVOICE_LINE_ITEMS.IsDele" +
                    "ted], T1.[INVOICE_LINE_ITEMS.InvoiceDate], T1.[INVOICE_LINE_ITEMS.InvoiceTotal]," +
                    " T1.[INVOICE_LINE_ITEMS.PurchaseQuantity], T1.[INVOICE_LINE_ITEMS.VendorItemCode" +
                    "], T1.[INVOICE_LINE_ITEMS.VendorItemName], T1.[INVOICE_LINE_ITEMS.PurchaseUnitNa" +
                    "me], T1.[INVOICE_LINE_ITEMS.ContainerSize], T1.[INVOICE_LINE_ITEMS.UnitCost], T1" +
                    ".[INVOICE_LINE_ITEMS.ExtendedCost], T1.[INVOICE_LINE_ITEMS.InvoiceNumber], T1.[I" +
                    "NVOICE_LINE_ITEMS.ConversionUnit], T1.[INVOICE_LINE_ITEMS.NavVendorAccountId], T" +
                    "1.[INVOICE_LINE_ITEMS.GLCodeId])\r\n    FROM (\r\n        SELECT \r\n            T.Id " +
                    "AS [INVOICE_LINE_ITEMS.Id], \r\n            T.IsDeleted AS [INVOICE_LINE_ITEMS.IsD" +
                    "eleted], \r\n            T.InvoiceDate AS [INVOICE_LINE_ITEMS.InvoiceDate], \r\n    " +
                    "        T.InvoiceTotal AS [INVOICE_LINE_ITEMS.InvoiceTotal], \r\n            T.Pur" +
                    "chaseQuantity AS [INVOICE_LINE_ITEMS.PurchaseQuantity], \r\n            T.VendorIt" +
                    "emCode AS [INVOICE_LINE_ITEMS.VendorItemCode], \r\n            T.VendorItemName AS" +
                    " [INVOICE_LINE_ITEMS.VendorItemName], \r\n            T.PurchaseUnitName AS [INVOI" +
                    "CE_LINE_ITEMS.PurchaseUnitName], \r\n            T.ContainerSize AS [INVOICE_LINE_" +
                    "ITEMS.ContainerSize], \r\n            T.UnitCost AS [INVOICE_LINE_ITEMS.UnitCost]," +
                    " \r\n            T.ExtendedCost AS [INVOICE_LINE_ITEMS.ExtendedCost], \r\n          " +
                    "  T.InvoiceNumber AS [INVOICE_LINE_ITEMS.InvoiceNumber], \r\n            T.Convers" +
                    "ionUnit AS [INVOICE_LINE_ITEMS.ConversionUnit], \r\n            T.NavVendorAccount" +
                    "Id AS [INVOICE_LINE_ITEMS.NavVendorAccountId], \r\n            T.GLCodeId AS [INVO" +
                    "ICE_LINE_ITEMS.GLCodeId], \r\n            True AS _from0\r\n        FROM DominicaEnt" +
                    "ities.INVOICE_LINE_ITEMS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.VENDOR_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView114()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.VENDOR_ACCOUNTS", "\r\n    SELECT VALUE -- Constructing VENDOR_ACCOUNTS\r\n        [DominicaModel.Store." +
                    "VENDOR_ACCOUNTS](T1.[VENDOR_ACCOUNTS.Id], T1.[VENDOR_ACCOUNTS.LastName], T1.[VEN" +
                    "DOR_ACCOUNTS.FirstName], T1.[VENDOR_ACCOUNTS.Address1], T1.[VENDOR_ACCOUNTS.Addr" +
                    "ess2], T1.[VENDOR_ACCOUNTS.City], T1.[VENDOR_ACCOUNTS.State], T1.[VENDOR_ACCOUNT" +
                    "S.Zipcode], T1.[VENDOR_ACCOUNTS.Telephone], T1.[VENDOR_ACCOUNTS.AccountNumber], " +
                    "T1.[VENDOR_ACCOUNTS.CreateDate], T1.[VENDOR_ACCOUNTS.Active], T1.[VENDOR_ACCOUNT" +
                    "S.EmailAddress], T1.[VENDOR_ACCOUNTS.CompanyName], T1.[VENDOR_ACCOUNTS.AccountLi" +
                    "mit], T1.[VENDOR_ACCOUNTS.AccountTerms], T1.[VENDOR_ACCOUNTS.HasNoHighLimit], T1" +
                    ".[VENDOR_ACCOUNTS.Fax], T1.[VENDOR_ACCOUNTS.IsDeleted], T1.[VENDOR_ACCOUNTS.Coun" +
                    "try])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [VENDOR_ACCOUNTS.Id], \r\n" +
                    "            T.LastName AS [VENDOR_ACCOUNTS.LastName], \r\n            T.FirstName " +
                    "AS [VENDOR_ACCOUNTS.FirstName], \r\n            T.Address1 AS [VENDOR_ACCOUNTS.Add" +
                    "ress1], \r\n            T.Address2 AS [VENDOR_ACCOUNTS.Address2], \r\n            T." +
                    "City AS [VENDOR_ACCOUNTS.City], \r\n            T.State AS [VENDOR_ACCOUNTS.State]" +
                    ", \r\n            T.Zipcode AS [VENDOR_ACCOUNTS.Zipcode], \r\n            T.Telephon" +
                    "e AS [VENDOR_ACCOUNTS.Telephone], \r\n            T.AccountNumber AS [VENDOR_ACCOU" +
                    "NTS.AccountNumber], \r\n            T.CreateDate AS [VENDOR_ACCOUNTS.CreateDate], " +
                    "\r\n            T.Active AS [VENDOR_ACCOUNTS.Active], \r\n            T.EmailAddress" +
                    " AS [VENDOR_ACCOUNTS.EmailAddress], \r\n            T.CompanyName AS [VENDOR_ACCOU" +
                    "NTS.CompanyName], \r\n            T.AccountLimit AS [VENDOR_ACCOUNTS.AccountLimit]" +
                    ", \r\n            T.AccountTerms AS [VENDOR_ACCOUNTS.AccountTerms], \r\n            " +
                    "T.HasNoHighLimit AS [VENDOR_ACCOUNTS.HasNoHighLimit], \r\n            T.Fax AS [VE" +
                    "NDOR_ACCOUNTS.Fax], \r\n            T.IsDeleted AS [VENDOR_ACCOUNTS.IsDeleted], \r\n" +
                    "            T.Country AS [VENDOR_ACCOUNTS.Country], \r\n            True AS _from0" +
                    "\r\n        FROM DominicaEntities.VENDOR_ACCOUNTS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.INVOICE_LINE_ITEMS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView115()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.INVOICE_LINE_ITEMS", "\r\n    SELECT VALUE -- Constructing INVOICE_LINE_ITEMS\r\n        [DominicaModel.INV" +
                    "OICE_LINE_ITEM](T1.[INVOICE_LINE_ITEM.Id], T1.[INVOICE_LINE_ITEM.IsDeleted], T1." +
                    "[INVOICE_LINE_ITEM.InvoiceDate], T1.[INVOICE_LINE_ITEM.InvoiceTotal], T1.[INVOIC" +
                    "E_LINE_ITEM.PurchaseQuantity], T1.[INVOICE_LINE_ITEM.VendorItemCode], T1.[INVOIC" +
                    "E_LINE_ITEM.VendorItemName], T1.[INVOICE_LINE_ITEM.PurchaseUnitName], T1.[INVOIC" +
                    "E_LINE_ITEM.ContainerSize], T1.[INVOICE_LINE_ITEM.UnitCost], T1.[INVOICE_LINE_IT" +
                    "EM.ExtendedCost], T1.[INVOICE_LINE_ITEM.InvoiceNumber], T1.[INVOICE_LINE_ITEM.Co" +
                    "nversionUnit], T1.[INVOICE_LINE_ITEM.NavVendorAccountId], T1.[INVOICE_LINE_ITEM." +
                    "GLCodeId])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [INVOICE_LINE_ITEM." +
                    "Id], \r\n            T.IsDeleted AS [INVOICE_LINE_ITEM.IsDeleted], \r\n            T" +
                    ".InvoiceDate AS [INVOICE_LINE_ITEM.InvoiceDate], \r\n            T.InvoiceTotal AS" +
                    " [INVOICE_LINE_ITEM.InvoiceTotal], \r\n            T.PurchaseQuantity AS [INVOICE_" +
                    "LINE_ITEM.PurchaseQuantity], \r\n            T.VendorItemCode AS [INVOICE_LINE_ITE" +
                    "M.VendorItemCode], \r\n            T.VendorItemName AS [INVOICE_LINE_ITEM.VendorIt" +
                    "emName], \r\n            T.PurchaseUnitName AS [INVOICE_LINE_ITEM.PurchaseUnitName" +
                    "], \r\n            T.ContainerSize AS [INVOICE_LINE_ITEM.ContainerSize], \r\n       " +
                    "     T.UnitCost AS [INVOICE_LINE_ITEM.UnitCost], \r\n            T.ExtendedCost AS" +
                    " [INVOICE_LINE_ITEM.ExtendedCost], \r\n            T.InvoiceNumber AS [INVOICE_LIN" +
                    "E_ITEM.InvoiceNumber], \r\n            T.ConversionUnit AS [INVOICE_LINE_ITEM.Conv" +
                    "ersionUnit], \r\n            T.NavVendorAccountId AS [INVOICE_LINE_ITEM.NavVendorA" +
                    "ccountId], \r\n            T.GLCodeId AS [INVOICE_LINE_ITEM.GLCodeId], \r\n         " +
                    "   True AS _from0\r\n        FROM DominicaModelStoreContainer.INVOICE_LINE_ITEMS A" +
                    "S T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.VENDOR_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView116()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.VENDOR_ACCOUNTS", "\r\n    SELECT VALUE -- Constructing VENDOR_ACCOUNTS\r\n        [DominicaModel.VENDOR" +
                    "_ACCOUNT](T1.[VENDOR_ACCOUNT.Id], T1.[VENDOR_ACCOUNT.LastName], T1.[VENDOR_ACCOU" +
                    "NT.FirstName], T1.[VENDOR_ACCOUNT.Address1], T1.[VENDOR_ACCOUNT.Address2], T1.[V" +
                    "ENDOR_ACCOUNT.City], T1.[VENDOR_ACCOUNT.State], T1.[VENDOR_ACCOUNT.Zipcode], T1." +
                    "[VENDOR_ACCOUNT.Telephone], T1.[VENDOR_ACCOUNT.AccountNumber], T1.[VENDOR_ACCOUN" +
                    "T.CreateDate], T1.[VENDOR_ACCOUNT.Active], T1.[VENDOR_ACCOUNT.EmailAddress], T1." +
                    "[VENDOR_ACCOUNT.CompanyName], T1.[VENDOR_ACCOUNT.AccountLimit], T1.[VENDOR_ACCOU" +
                    "NT.AccountTerms], T1.[VENDOR_ACCOUNT.HasNoHighLimit], T1.[VENDOR_ACCOUNT.Fax], T" +
                    "1.[VENDOR_ACCOUNT.IsDeleted], T1.[VENDOR_ACCOUNT.Country])\r\n    FROM (\r\n        " +
                    "SELECT \r\n            T.Id AS [VENDOR_ACCOUNT.Id], \r\n            T.LastName AS [V" +
                    "ENDOR_ACCOUNT.LastName], \r\n            T.FirstName AS [VENDOR_ACCOUNT.FirstName]" +
                    ", \r\n            T.Address1 AS [VENDOR_ACCOUNT.Address1], \r\n            T.Address" +
                    "2 AS [VENDOR_ACCOUNT.Address2], \r\n            T.City AS [VENDOR_ACCOUNT.City], \r" +
                    "\n            T.State AS [VENDOR_ACCOUNT.State], \r\n            T.Zipcode AS [VEND" +
                    "OR_ACCOUNT.Zipcode], \r\n            T.Telephone AS [VENDOR_ACCOUNT.Telephone], \r\n" +
                    "            T.AccountNumber AS [VENDOR_ACCOUNT.AccountNumber], \r\n            T.C" +
                    "reateDate AS [VENDOR_ACCOUNT.CreateDate], \r\n            T.Active AS [VENDOR_ACCO" +
                    "UNT.Active], \r\n            T.EmailAddress AS [VENDOR_ACCOUNT.EmailAddress], \r\n  " +
                    "          T.CompanyName AS [VENDOR_ACCOUNT.CompanyName], \r\n            T.Account" +
                    "Limit AS [VENDOR_ACCOUNT.AccountLimit], \r\n            T.AccountTerms AS [VENDOR_" +
                    "ACCOUNT.AccountTerms], \r\n            T.HasNoHighLimit AS [VENDOR_ACCOUNT.HasNoHi" +
                    "ghLimit], \r\n            T.Fax AS [VENDOR_ACCOUNT.Fax], \r\n            T.IsDeleted" +
                    " AS [VENDOR_ACCOUNT.IsDeleted], \r\n            T.Country AS [VENDOR_ACCOUNT.Count" +
                    "ry], \r\n            True AS _from0\r\n        FROM DominicaModelStoreContainer.VEND" +
                    "OR_ACCOUNTS AS T\r\n    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.GLCODES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView117()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.GLCODES", @"
    SELECT VALUE -- Constructing GLCODES
        [DominicaModel.Store.GLCODES](T1.GLCODES_Id, T1.GLCODES_Name, T1.GLCODES_IsDeleted)
    FROM (
        SELECT 
            T.Id AS GLCODES_Id, 
            T.Name AS GLCODES_Name, 
            T.IsDeleted AS GLCODES_IsDeleted, 
            True AS _from0
        FROM DominicaEntities.GLCODES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.GLCODES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView118()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.GLCODES", @"
    SELECT VALUE -- Constructing GLCODES
        [DominicaModel.GLCODE](T1.GLCODE_Id, T1.GLCODE_Name, T1.GLCODE_IsDeleted)
    FROM (
        SELECT 
            T.Id AS GLCODE_Id, 
            T.Name AS GLCODE_Name, 
            T.IsDeleted AS GLCODE_IsDeleted, 
            True AS _from0
        FROM DominicaModelStoreContainer.GLCODES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.EXCLUSIVE_TAXRATES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView119()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.EXCLUSIVE_TAXRATES", @"
    SELECT VALUE -- Constructing EXCLUSIVE_TAXRATES
        [DominicaModel.Store.EXCLUSIVE_TAXRATES](T1.[EXCLUSIVE_TAXRATES.Id], T1.[EXCLUSIVE_TAXRATES.Name], T1.[EXCLUSIVE_TAXRATES.IsDeleted], T1.[EXCLUSIVE_TAXRATES.Rate])
    FROM (
        SELECT 
            T.Id AS [EXCLUSIVE_TAXRATES.Id], 
            T.Name AS [EXCLUSIVE_TAXRATES.Name], 
            T.IsDeleted AS [EXCLUSIVE_TAXRATES.IsDeleted], 
            T.Rate AS [EXCLUSIVE_TAXRATES.Rate], 
            True AS _from0
        FROM DominicaEntities.EXCLUSIVE_TAXRATES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.EXCLUSIVE_TAXRATES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView120()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.EXCLUSIVE_TAXRATES", @"
    SELECT VALUE -- Constructing EXCLUSIVE_TAXRATES
        [DominicaModel.EXCLUSIVE_TAXRATE](T1.[EXCLUSIVE_TAXRATE.Id], T1.[EXCLUSIVE_TAXRATE.Name], T1.[EXCLUSIVE_TAXRATE.IsDeleted], T1.[EXCLUSIVE_TAXRATE.Rate])
    FROM (
        SELECT 
            T.Id AS [EXCLUSIVE_TAXRATE.Id], 
            T.Name AS [EXCLUSIVE_TAXRATE.Name], 
            T.IsDeleted AS [EXCLUSIVE_TAXRATE.IsDeleted], 
            T.Rate AS [EXCLUSIVE_TAXRATE.Rate], 
            True AS _from0
        FROM DominicaModelStoreContainer.EXCLUSIVE_TAXRATES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.CASH_TRANSACTIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView121()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.CASH_TRANSACTIONS", @"
    SELECT VALUE -- Constructing CASH_TRANSACTIONS
        [DominicaModel.Store.CASH_TRANSACTIONS](T1.[CASH_TRANSACTIONS.Id], T1.[CASH_TRANSACTIONS.TransactionId])
    FROM (
        SELECT 
            T.Id AS [CASH_TRANSACTIONS.Id], 
            T.TransactionId AS [CASH_TRANSACTIONS.TransactionId], 
            True AS _from0
        FROM DominicaEntities.CASH_TRANSACTIONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.CASH_TRANSACTIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView122()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.CASH_TRANSACTIONS", @"
    SELECT VALUE -- Constructing CASH_TRANSACTIONS
        [DominicaModel.CASH_TRANSACTION](T1.[CASH_TRANSACTION.Id], T1.[CASH_TRANSACTION.TransactionId])
    FROM (
        SELECT 
            T.Id AS [CASH_TRANSACTION.Id], 
            T.TransactionId AS [CASH_TRANSACTION.TransactionId], 
            True AS _from0
        FROM DominicaModelStoreContainer.CASH_TRANSACTIONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.COMP_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView123()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.COMP_ACCOUNTS", @"
    SELECT VALUE -- Constructing COMP_ACCOUNTS
        [DominicaModel.Store.COMP_ACCOUNTS](T1.[COMP_ACCOUNTS.Id], T1.[COMP_ACCOUNTS.IsDeleted], T1.[COMP_ACCOUNTS.IsPromo], T1.[COMP_ACCOUNTS.IsVariableAmount], T1.[COMP_ACCOUNTS.RateAsDollarOrPercent], T1.[COMP_ACCOUNTS.IsVoid], T1.[COMP_ACCOUNTS.IsComp], T1.[COMP_ACCOUNTS.Name], T1.[COMP_ACCOUNTS.PromptUserToEnterNotes])
    FROM (
        SELECT 
            T.Id AS [COMP_ACCOUNTS.Id], 
            T.IsDeleted AS [COMP_ACCOUNTS.IsDeleted], 
            T.IsPromo AS [COMP_ACCOUNTS.IsPromo], 
            T.IsVariableAmount AS [COMP_ACCOUNTS.IsVariableAmount], 
            T.RateAsDollarOrPercent AS [COMP_ACCOUNTS.RateAsDollarOrPercent], 
            T.IsVoid AS [COMP_ACCOUNTS.IsVoid], 
            T.IsComp AS [COMP_ACCOUNTS.IsComp], 
            T.Name AS [COMP_ACCOUNTS.Name], 
            T.PromptUserToEnterNotes AS [COMP_ACCOUNTS.PromptUserToEnterNotes], 
            True AS _from0
        FROM DominicaEntities.COMP_ACCOUNTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.COMP_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView124()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.COMP_ACCOUNTS", @"
    SELECT VALUE -- Constructing COMP_ACCOUNTS
        [DominicaModel.COMP_ACCOUNT](T1.[COMP_ACCOUNT.Id], T1.[COMP_ACCOUNT.IsDeleted], T1.[COMP_ACCOUNT.IsPromo], T1.[COMP_ACCOUNT.IsVariableAmount], T1.[COMP_ACCOUNT.RateAsDollarOrPercent], T1.[COMP_ACCOUNT.IsVoid], T1.[COMP_ACCOUNT.IsComp], T1.[COMP_ACCOUNT.Name], T1.[COMP_ACCOUNT.PromptUserToEnterNotes])
    FROM (
        SELECT 
            T.Id AS [COMP_ACCOUNT.Id], 
            T.IsDeleted AS [COMP_ACCOUNT.IsDeleted], 
            T.IsPromo AS [COMP_ACCOUNT.IsPromo], 
            T.IsVariableAmount AS [COMP_ACCOUNT.IsVariableAmount], 
            T.RateAsDollarOrPercent AS [COMP_ACCOUNT.RateAsDollarOrPercent], 
            T.IsVoid AS [COMP_ACCOUNT.IsVoid], 
            T.IsComp AS [COMP_ACCOUNT.IsComp], 
            T.Name AS [COMP_ACCOUNT.Name], 
            T.PromptUserToEnterNotes AS [COMP_ACCOUNT.PromptUserToEnterNotes], 
            True AS _from0
        FROM DominicaModelStoreContainer.COMP_ACCOUNTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.HOUSE_TRANSACTIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView125()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.HOUSE_TRANSACTIONS", @"
    SELECT VALUE -- Constructing HOUSE_TRANSACTIONS
        [DominicaModel.Store.HOUSE_TRANSACTIONS](T1.[HOUSE_TRANSACTIONS.Id], T1.[HOUSE_TRANSACTIONS.HouseAccountId], T1.[HOUSE_TRANSACTIONS.OrderId], T1.[HOUSE_TRANSACTIONS.TransactionId])
    FROM (
        SELECT 
            T.Id AS [HOUSE_TRANSACTIONS.Id], 
            T.HouseAccountId AS [HOUSE_TRANSACTIONS.HouseAccountId], 
            T.OrderId AS [HOUSE_TRANSACTIONS.OrderId], 
            T.TransactionId AS [HOUSE_TRANSACTIONS.TransactionId], 
            True AS _from0
        FROM DominicaEntities.HOUSE_TRANSACTIONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.HOUSE_TRANSACTIONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView126()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.HOUSE_TRANSACTIONS", @"
    SELECT VALUE -- Constructing HOUSE_TRANSACTIONS
        [DominicaModel.HOUSE_TRANSACTION](T1.[HOUSE_TRANSACTION.Id], T1.[HOUSE_TRANSACTION.HouseAccountId], T1.[HOUSE_TRANSACTION.OrderId], T1.[HOUSE_TRANSACTION.TransactionId])
    FROM (
        SELECT 
            T.Id AS [HOUSE_TRANSACTION.Id], 
            T.HouseAccountId AS [HOUSE_TRANSACTION.HouseAccountId], 
            T.OrderId AS [HOUSE_TRANSACTION.OrderId], 
            T.TransactionId AS [HOUSE_TRANSACTION.TransactionId], 
            True AS _from0
        FROM DominicaModelStoreContainer.HOUSE_TRANSACTIONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.SCHEDULES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView127()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.SCHEDULES", @"
    SELECT VALUE -- Constructing SCHEDULES
        [DominicaModel.Store.SCHEDULES](T1.SCHEDULES_Id, T1.SCHEDULES_StartTime, T1.SCHEDULES_EndTime, T1.SCHEDULES_EmployeeId, T1.SCHEDULES_JobcodeId, T1.SCHEDULES_BusinessDate, T1.SCHEDULES_Notes, T1.SCHEDULES_NavWorkCenterId, T1.SCHEDULES_IsDeleted)
    FROM (
        SELECT 
            T.Id AS SCHEDULES_Id, 
            T.StartTime AS SCHEDULES_StartTime, 
            T.EndTime AS SCHEDULES_EndTime, 
            T.EmployeeId AS SCHEDULES_EmployeeId, 
            T.JobcodeId AS SCHEDULES_JobcodeId, 
            T.BusinessDate AS SCHEDULES_BusinessDate, 
            T.Notes AS SCHEDULES_Notes, 
            T.NavWorkCenterId AS SCHEDULES_NavWorkCenterId, 
            T.IsDeleted AS SCHEDULES_IsDeleted, 
            True AS _from0
        FROM DominicaEntities.SCHEDULES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.WORK_CENTERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView128()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.WORK_CENTERS", @"
    SELECT VALUE -- Constructing WORK_CENTERS
        [DominicaModel.Store.WORK_CENTERS](T1.[WORK_CENTERS.Id], T1.[WORK_CENTERS.Name], T1.[WORK_CENTERS.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [WORK_CENTERS.Id], 
            T.Name AS [WORK_CENTERS.Name], 
            T.IsDeleted AS [WORK_CENTERS.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.WORK_CENTERS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.SCHEDULES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView129()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.SCHEDULES", @"
    SELECT VALUE -- Constructing SCHEDULES
        [DominicaModel.SCHEDULE](T1.SCHEDULE_Id, T1.SCHEDULE_StartTime, T1.SCHEDULE_EndTime, T1.SCHEDULE_EmployeeId, T1.SCHEDULE_JobcodeId, T1.SCHEDULE_BusinessDate, T1.SCHEDULE_Notes, T1.SCHEDULE_NavWorkCenterId, T1.SCHEDULE_IsDeleted)
    FROM (
        SELECT 
            T.Id AS SCHEDULE_Id, 
            T.StartTime AS SCHEDULE_StartTime, 
            T.EndTime AS SCHEDULE_EndTime, 
            T.EmployeeId AS SCHEDULE_EmployeeId, 
            T.JobcodeId AS SCHEDULE_JobcodeId, 
            T.BusinessDate AS SCHEDULE_BusinessDate, 
            T.Notes AS SCHEDULE_Notes, 
            T.NavWorkCenterId AS SCHEDULE_NavWorkCenterId, 
            T.IsDeleted AS SCHEDULE_IsDeleted, 
            True AS _from0
        FROM DominicaModelStoreContainer.SCHEDULES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.WORK_CENTERS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView130()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.WORK_CENTERS", @"
    SELECT VALUE -- Constructing WORK_CENTERS
        [DominicaModel.WORK_CENTER](T1.[WORK_CENTER.Id], T1.[WORK_CENTER.Name], T1.[WORK_CENTER.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [WORK_CENTER.Id], 
            T.Name AS [WORK_CENTER.Name], 
            T.IsDeleted AS [WORK_CENTER.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.WORK_CENTERS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.FINGERPASSWORDS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView131()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.FINGERPASSWORDS", @"
    SELECT VALUE -- Constructing FINGERPASSWORDS
        [DominicaModel.Store.FINGERPASSWORDS](T1.FINGERPASSWORDS_Id, T1.FINGERPASSWORDS_Data)
    FROM (
        SELECT 
            T.Id AS FINGERPASSWORDS_Id, 
            T.Data AS FINGERPASSWORDS_Data, 
            True AS _from0
        FROM DominicaEntities.FINGERPASSWORDS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.FINGERPASSWORDS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView132()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.FINGERPASSWORDS", @"
    SELECT VALUE -- Constructing FINGERPASSWORDS
        [DominicaModel.FINGERPASSWORD](T1.FINGERPASSWORD_Id, T1.FINGERPASSWORD_Data)
    FROM (
        SELECT 
            T.Id AS FINGERPASSWORD_Id, 
            T.Data AS FINGERPASSWORD_Data, 
            True AS _from0
        FROM DominicaModelStoreContainer.FINGERPASSWORDS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.LOCATION_LAYOUTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView133()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.LOCATION_LAYOUTS", @"
    SELECT VALUE -- Constructing LOCATION_LAYOUTS
        [DominicaModel.Store.LOCATION_LAYOUTS](T1.[LOCATION_LAYOUTS.Id], T1.[LOCATION_LAYOUTS.LocationX], T1.[LOCATION_LAYOUTS.LocationY], T1.[LOCATION_LAYOUTS.SizeX], T1.[LOCATION_LAYOUTS.SizeY], T1.[LOCATION_LAYOUTS.FilePath], T1.[LOCATION_LAYOUTS.PageNumber])
    FROM (
        SELECT 
            T.Id AS [LOCATION_LAYOUTS.Id], 
            T.LocationX AS [LOCATION_LAYOUTS.LocationX], 
            T.LocationY AS [LOCATION_LAYOUTS.LocationY], 
            T.SizeX AS [LOCATION_LAYOUTS.SizeX], 
            T.SizeY AS [LOCATION_LAYOUTS.SizeY], 
            T.FilePath AS [LOCATION_LAYOUTS.FilePath], 
            T.PageNumber AS [LOCATION_LAYOUTS.PageNumber], 
            True AS _from0
        FROM DominicaEntities.LOCATION_LAYOUTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.LOCATION_LAYOUTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView134()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.LOCATION_LAYOUTS", @"
    SELECT VALUE -- Constructing LOCATION_LAYOUTS
        [DominicaModel.LOCATION_LAYOUT](T1.[LOCATION_LAYOUT.Id], T1.[LOCATION_LAYOUT.LocationX], T1.[LOCATION_LAYOUT.LocationY], T1.[LOCATION_LAYOUT.SizeX], T1.[LOCATION_LAYOUT.SizeY], T1.[LOCATION_LAYOUT.FilePath], T1.[LOCATION_LAYOUT.PageNumber])
    FROM (
        SELECT 
            T.Id AS [LOCATION_LAYOUT.Id], 
            T.LocationX AS [LOCATION_LAYOUT.LocationX], 
            T.LocationY AS [LOCATION_LAYOUT.LocationY], 
            T.SizeX AS [LOCATION_LAYOUT.SizeX], 
            T.SizeY AS [LOCATION_LAYOUT.SizeY], 
            T.FilePath AS [LOCATION_LAYOUT.FilePath], 
            T.PageNumber AS [LOCATION_LAYOUT.PageNumber], 
            True AS _from0
        FROM DominicaModelStoreContainer.LOCATION_LAYOUTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.INCLUSIVE_TAXRATES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView135()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.INCLUSIVE_TAXRATES", @"
    SELECT VALUE -- Constructing INCLUSIVE_TAXRATES
        [DominicaModel.Store.INCLUSIVE_TAXRATES](T1.[INCLUSIVE_TAXRATES.Id], T1.[INCLUSIVE_TAXRATES.Name], T1.[INCLUSIVE_TAXRATES.IsDeleted], T1.[INCLUSIVE_TAXRATES.Rate])
    FROM (
        SELECT 
            T.Id AS [INCLUSIVE_TAXRATES.Id], 
            T.Name AS [INCLUSIVE_TAXRATES.Name], 
            T.IsDeleted AS [INCLUSIVE_TAXRATES.IsDeleted], 
            T.Rate AS [INCLUSIVE_TAXRATES.Rate], 
            True AS _from0
        FROM DominicaEntities.INCLUSIVE_TAXRATES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.INCLUSIVE_TAXRATES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView136()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.INCLUSIVE_TAXRATES", @"
    SELECT VALUE -- Constructing INCLUSIVE_TAXRATES
        [DominicaModel.INCLUSIVE_TAXRATE](T1.[INCLUSIVE_TAXRATE.Id], T1.[INCLUSIVE_TAXRATE.Name], T1.[INCLUSIVE_TAXRATE.IsDeleted], T1.[INCLUSIVE_TAXRATE.Rate])
    FROM (
        SELECT 
            T.Id AS [INCLUSIVE_TAXRATE.Id], 
            T.Name AS [INCLUSIVE_TAXRATE.Name], 
            T.IsDeleted AS [INCLUSIVE_TAXRATE.IsDeleted], 
            T.Rate AS [INCLUSIVE_TAXRATE.Rate], 
            True AS _from0
        FROM DominicaModelStoreContainer.INCLUSIVE_TAXRATES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.INCLUSIVE_TIPRATES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView137()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.INCLUSIVE_TIPRATES", @"
    SELECT VALUE -- Constructing INCLUSIVE_TIPRATES
        [DominicaModel.Store.INCLUSIVE_TIPRATES](T1.[INCLUSIVE_TIPRATES.Id], T1.[INCLUSIVE_TIPRATES.Name], T1.[INCLUSIVE_TIPRATES.IsDeleted], T1.[INCLUSIVE_TIPRATES.Rate], T1.[INCLUSIVE_TIPRATES.IsFlatFee])
    FROM (
        SELECT 
            T.Id AS [INCLUSIVE_TIPRATES.Id], 
            T.Name AS [INCLUSIVE_TIPRATES.Name], 
            T.IsDeleted AS [INCLUSIVE_TIPRATES.IsDeleted], 
            T.Rate AS [INCLUSIVE_TIPRATES.Rate], 
            T.IsFlatFee AS [INCLUSIVE_TIPRATES.IsFlatFee], 
            True AS _from0
        FROM DominicaEntities.INCLUSIVE_TIPRATES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.INCLUSIVE_TIPRATES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView138()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.INCLUSIVE_TIPRATES", @"
    SELECT VALUE -- Constructing INCLUSIVE_TIPRATES
        [DominicaModel.INCLUSIVE_TIPRATE](T1.[INCLUSIVE_TIPRATE.Id], T1.[INCLUSIVE_TIPRATE.Name], T1.[INCLUSIVE_TIPRATE.IsDeleted], T1.[INCLUSIVE_TIPRATE.Rate], T1.[INCLUSIVE_TIPRATE.IsFlatFee])
    FROM (
        SELECT 
            T.Id AS [INCLUSIVE_TIPRATE.Id], 
            T.Name AS [INCLUSIVE_TIPRATE.Name], 
            T.IsDeleted AS [INCLUSIVE_TIPRATE.IsDeleted], 
            T.Rate AS [INCLUSIVE_TIPRATE.Rate], 
            T.IsFlatFee AS [INCLUSIVE_TIPRATE.IsFlatFee], 
            True AS _from0
        FROM DominicaModelStoreContainer.INCLUSIVE_TIPRATES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.SURCHARGE_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView139()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.SURCHARGE_ACCOUNTS", @"
    SELECT VALUE -- Constructing SURCHARGE_ACCOUNTS
        [DominicaModel.Store.SURCHARGE_ACCOUNTS](T1.[SURCHARGE_ACCOUNTS.Id], T1.[SURCHARGE_ACCOUNTS.Name], T1.[SURCHARGE_ACCOUNTS.IsDeleted], T1.[SURCHARGE_ACCOUNTS.Rate], T1.[SURCHARGE_ACCOUNTS.IsFlatFee], T1.[SURCHARGE_ACCOUNTS.IsServiceCharge])
    FROM (
        SELECT 
            T.Id AS [SURCHARGE_ACCOUNTS.Id], 
            T.Name AS [SURCHARGE_ACCOUNTS.Name], 
            T.IsDeleted AS [SURCHARGE_ACCOUNTS.IsDeleted], 
            T.Rate AS [SURCHARGE_ACCOUNTS.Rate], 
            T.IsFlatFee AS [SURCHARGE_ACCOUNTS.IsFlatFee], 
            T.IsServiceCharge AS [SURCHARGE_ACCOUNTS.IsServiceCharge], 
            True AS _from0
        FROM DominicaEntities.SURCHARGE_ACCOUNTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.SURCHARGE_ACCOUNTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView140()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.SURCHARGE_ACCOUNTS", @"
    SELECT VALUE -- Constructing SURCHARGE_ACCOUNTS
        [DominicaModel.SURCHARGE_ACCOUNT](T1.[SURCHARGE_ACCOUNT.Id], T1.[SURCHARGE_ACCOUNT.Name], T1.[SURCHARGE_ACCOUNT.IsDeleted], T1.[SURCHARGE_ACCOUNT.Rate], T1.[SURCHARGE_ACCOUNT.IsFlatFee], T1.[SURCHARGE_ACCOUNT.IsServiceCharge])
    FROM (
        SELECT 
            T.Id AS [SURCHARGE_ACCOUNT.Id], 
            T.Name AS [SURCHARGE_ACCOUNT.Name], 
            T.IsDeleted AS [SURCHARGE_ACCOUNT.IsDeleted], 
            T.Rate AS [SURCHARGE_ACCOUNT.Rate], 
            T.IsFlatFee AS [SURCHARGE_ACCOUNT.IsFlatFee], 
            T.IsServiceCharge AS [SURCHARGE_ACCOUNT.IsServiceCharge], 
            True AS _from0
        FROM DominicaModelStoreContainer.SURCHARGE_ACCOUNTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ORDERED_RECIPES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView141()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ORDERED_RECIPES", @"
    SELECT VALUE -- Constructing ORDERED_RECIPES
        [DominicaModel.Store.ORDERED_RECIPES](T1.[ORDERED_RECIPES.Id], T1.[ORDERED_RECIPES.Property], T1.[ORDERED_RECIPES.RecipeId], T1.[ORDERED_RECIPES.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [ORDERED_RECIPES.Id], 
            T.Property AS [ORDERED_RECIPES.Property], 
            T.RecipeId AS [ORDERED_RECIPES.RecipeId], 
            T.IsDeleted AS [ORDERED_RECIPES.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.ORDERED_RECIPES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ORDERED_RECIPES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView142()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ORDERED_RECIPES", @"
    SELECT VALUE -- Constructing ORDERED_RECIPES
        [DominicaModel.ORDERED_RECIPE](T1.[ORDERED_RECIPE.Id], T1.[ORDERED_RECIPE.Property], T1.[ORDERED_RECIPE.RecipeId], T1.[ORDERED_RECIPE.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [ORDERED_RECIPE.Id], 
            T.Property AS [ORDERED_RECIPE.Property], 
            T.RecipeId AS [ORDERED_RECIPE.RecipeId], 
            T.IsDeleted AS [ORDERED_RECIPE.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.ORDERED_RECIPES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.TRANSACTION_RESPONSES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView143()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(5229);
            viewString.Append("\r\n    SELECT VALUE -- Constructing TRANSACTION_RESPONSES\r\n        [DominicaModel");
            viewString.Append(".Store.TRANSACTION_RESPONSES](T1.[TRANSACTION_RESPONSES.Id], T1.[TRANSACTION_RES");
            viewString.Append("PONSES.ResponseOrigin], T1.[TRANSACTION_RESPONSES.DSIXReturnCode], T1.[TRANSACTI");
            viewString.Append("ON_RESPONSES.CmdStatus], T1.[TRANSACTION_RESPONSES.TextResponse], T1.[TRANSACTIO");
            viewString.Append("N_RESPONSES.UserTraceData], T1.[TRANSACTION_RESPONSES.SequenceNo], T1.[TRANSACTI");
            viewString.Append("ON_RESPONSES.MerchantID], T1.[TRANSACTION_RESPONSES.TerminalID], T1.[TRANSACTION");
            viewString.Append("_RESPONSES.ExpDate], T1.[TRANSACTION_RESPONSES.CardType], T1.[TRANSACTION_RESPON");
            viewString.Append("SES.Selection], T1.[TRANSACTION_RESPONSES.TranCode], T1.[TRANSACTION_RESPONSES.A");
            viewString.Append("uthCode], T1.[TRANSACTION_RESPONSES.AVSResult], T1.[TRANSACTION_RESPONSES.CVVRes");
            viewString.Append("ult], T1.[TRANSACTION_RESPONSES.VoucherNo], T1.[TRANSACTION_RESPONSES.CaptureSta");
            viewString.Append("tus], T1.[TRANSACTION_RESPONSES.RefNo], T1.[TRANSACTION_RESPONSES.InvoiceNo], T1");
            viewString.Append(".[TRANSACTION_RESPONSES.OperatorID], T1.[TRANSACTION_RESPONSES.Memo], T1.[TRANSA");
            viewString.Append("CTION_RESPONSES.Purchase], T1.[TRANSACTION_RESPONSES.Authorize], T1.[TRANSACTION");
            viewString.Append("_RESPONSES.Gratuity], T1.[TRANSACTION_RESPONSES.CashBack], T1.[TRANSACTION_RESPO");
            viewString.Append("NSES.Balance], T1.[TRANSACTION_RESPONSES.AcqRefData], T1.[TRANSACTION_RESPONSES.");
            viewString.Append("RecordNo], T1.[TRANSACTION_RESPONSES.IssueCurrency], T1.[TRANSACTION_RESPONSES.I");
            viewString.Append("ssueCurrencyPreviousBalance], T1.[TRANSACTION_RESPONSES.IssueCurrencyEndingBalan");
            viewString.Append("ce], T1.[TRANSACTION_RESPONSES.ExchangeRate], T1.[TRANSACTION_RESPONSES.PrePaidE");
            viewString.Append("xp], T1.[TRANSACTION_RESPONSES.Language], T1.[TRANSACTION_RESPONSES.BankRespCode");
            viewString.Append("], T1.[TRANSACTION_RESPONSES.ISORespCode], T1.[TRANSACTION_RESPONSES.TranDate], ");
            viewString.Append("T1.[TRANSACTION_RESPONSES.TranTime], T1.[TRANSACTION_RESPONSES.Card4], T1.[TRANS");
            viewString.Append("ACTION_RESPONSES.CardKeyedOrSwiped], T1.[TRANSACTION_RESPONSES.ReturnedToCustome");
            viewString.Append("r], T1.[TRANSACTION_RESPONSES.CreditCardTipFee], T1.[TRANSACTION_RESPONSES.CardR");
            viewString.Append("elatedTransactionID], T1.[TRANSACTION_RESPONSES.ReturnedToCustomerPaidOutId], T1");
            viewString.Append(".[TRANSACTION_RESPONSES.ProcessData])\r\n    FROM (\r\n        SELECT \r\n            ");
            viewString.Append("T.Id AS [TRANSACTION_RESPONSES.Id], \r\n            T.ResponseOrigin AS [TRANSACTI");
            viewString.Append("ON_RESPONSES.ResponseOrigin], \r\n            T.DSIXReturnCode AS [TRANSACTION_RES");
            viewString.Append("PONSES.DSIXReturnCode], \r\n            T.CmdStatus AS [TRANSACTION_RESPONSES.CmdS");
            viewString.Append("tatus], \r\n            T.TextResponse AS [TRANSACTION_RESPONSES.TextResponse], \r\n");
            viewString.Append("            T.UserTraceData AS [TRANSACTION_RESPONSES.UserTraceData], \r\n        ");
            viewString.Append("    T.SequenceNo AS [TRANSACTION_RESPONSES.SequenceNo], \r\n            T.Merchant");
            viewString.Append("ID AS [TRANSACTION_RESPONSES.MerchantID], \r\n            T.TerminalID AS [TRANSAC");
            viewString.Append("TION_RESPONSES.TerminalID], \r\n            T.ExpDate AS [TRANSACTION_RESPONSES.Ex");
            viewString.Append("pDate], \r\n            T.CardType AS [TRANSACTION_RESPONSES.CardType], \r\n        ");
            viewString.Append("    T.Selection AS [TRANSACTION_RESPONSES.Selection], \r\n            T.TranCode A");
            viewString.Append("S [TRANSACTION_RESPONSES.TranCode], \r\n            T.AuthCode AS [TRANSACTION_RES");
            viewString.Append("PONSES.AuthCode], \r\n            T.AVSResult AS [TRANSACTION_RESPONSES.AVSResult]");
            viewString.Append(", \r\n            T.CVVResult AS [TRANSACTION_RESPONSES.CVVResult], \r\n            ");
            viewString.Append("T.VoucherNo AS [TRANSACTION_RESPONSES.VoucherNo], \r\n            T.CaptureStatus ");
            viewString.Append("AS [TRANSACTION_RESPONSES.CaptureStatus], \r\n            T.RefNo AS [TRANSACTION_");
            viewString.Append("RESPONSES.RefNo], \r\n            T.InvoiceNo AS [TRANSACTION_RESPONSES.InvoiceNo]");
            viewString.Append(", \r\n            T.OperatorID AS [TRANSACTION_RESPONSES.OperatorID], \r\n          ");
            viewString.Append("  T.Memo AS [TRANSACTION_RESPONSES.Memo], \r\n            T.Purchase AS [TRANSACTI");
            viewString.Append("ON_RESPONSES.Purchase], \r\n            T.Authorize AS [TRANSACTION_RESPONSES.Auth");
            viewString.Append("orize], \r\n            T.Gratuity AS [TRANSACTION_RESPONSES.Gratuity], \r\n        ");
            viewString.Append("    T.CashBack AS [TRANSACTION_RESPONSES.CashBack], \r\n            T.Balance AS [");
            viewString.Append("TRANSACTION_RESPONSES.Balance], \r\n            T.AcqRefData AS [TRANSACTION_RESPO");
            viewString.Append("NSES.AcqRefData], \r\n            T.RecordNo AS [TRANSACTION_RESPONSES.RecordNo], ");
            viewString.Append("\r\n            T.IssueCurrency AS [TRANSACTION_RESPONSES.IssueCurrency], \r\n      ");
            viewString.Append("      T.IssueCurrencyPreviousBalance AS [TRANSACTION_RESPONSES.IssueCurrencyPrev");
            viewString.Append("iousBalance], \r\n            T.IssueCurrencyEndingBalance AS [TRANSACTION_RESPONS");
            viewString.Append("ES.IssueCurrencyEndingBalance], \r\n            T.ExchangeRate AS [TRANSACTION_RES");
            viewString.Append("PONSES.ExchangeRate], \r\n            T.PrePaidExp AS [TRANSACTION_RESPONSES.PrePa");
            viewString.Append("idExp], \r\n            T.Language AS [TRANSACTION_RESPONSES.Language], \r\n        ");
            viewString.Append("    T.BankRespCode AS [TRANSACTION_RESPONSES.BankRespCode], \r\n            T.ISOR");
            viewString.Append("espCode AS [TRANSACTION_RESPONSES.ISORespCode], \r\n            T.TranDate AS [TRA");
            viewString.Append("NSACTION_RESPONSES.TranDate], \r\n            T.TranTime AS [TRANSACTION_RESPONSES");
            viewString.Append(".TranTime], \r\n            T.Card4 AS [TRANSACTION_RESPONSES.Card4], \r\n          ");
            viewString.Append("  T.CardKeyedOrSwiped AS [TRANSACTION_RESPONSES.CardKeyedOrSwiped], \r\n          ");
            viewString.Append("  T.ReturnedToCustomer AS [TRANSACTION_RESPONSES.ReturnedToCustomer], \r\n        ");
            viewString.Append("    T.CreditCardTipFee AS [TRANSACTION_RESPONSES.CreditCardTipFee], \r\n          ");
            viewString.Append("  T.CardRelatedTransactionID AS [TRANSACTION_RESPONSES.CardRelatedTransactionID]");
            viewString.Append(", \r\n            T.ReturnedToCustomerPaidOutId AS [TRANSACTION_RESPONSES.Returned");
            viewString.Append("ToCustomerPaidOutId], \r\n            T.ProcessData AS [TRANSACTION_RESPONSES.Proc");
            viewString.Append("essData], \r\n            True AS _from0\r\n        FROM DominicaEntities.TRANSACTIO");
            viewString.Append("N_RESPONSES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.TRANSACTION_RESPONSES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.TRANSACTION_RESPONSES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView144()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(5141);
            viewString.Append("\r\n    SELECT VALUE -- Constructing TRANSACTION_RESPONSES\r\n        [DominicaModel");
            viewString.Append(".TRANSACTION_RESPONSE](T1.[TRANSACTION_RESPONSE.Id], T1.[TRANSACTION_RESPONSE.Re");
            viewString.Append("sponseOrigin], T1.[TRANSACTION_RESPONSE.DSIXReturnCode], T1.[TRANSACTION_RESPONS");
            viewString.Append("E.CmdStatus], T1.[TRANSACTION_RESPONSE.TextResponse], T1.[TRANSACTION_RESPONSE.U");
            viewString.Append("serTraceData], T1.[TRANSACTION_RESPONSE.SequenceNo], T1.[TRANSACTION_RESPONSE.Me");
            viewString.Append("rchantID], T1.[TRANSACTION_RESPONSE.TerminalID], T1.[TRANSACTION_RESPONSE.ExpDat");
            viewString.Append("e], T1.[TRANSACTION_RESPONSE.CardType], T1.[TRANSACTION_RESPONSE.Selection], T1.");
            viewString.Append("[TRANSACTION_RESPONSE.TranCode], T1.[TRANSACTION_RESPONSE.AuthCode], T1.[TRANSAC");
            viewString.Append("TION_RESPONSE.AVSResult], T1.[TRANSACTION_RESPONSE.CVVResult], T1.[TRANSACTION_R");
            viewString.Append("ESPONSE.VoucherNo], T1.[TRANSACTION_RESPONSE.CaptureStatus], T1.[TRANSACTION_RES");
            viewString.Append("PONSE.RefNo], T1.[TRANSACTION_RESPONSE.InvoiceNo], T1.[TRANSACTION_RESPONSE.Oper");
            viewString.Append("atorID], T1.[TRANSACTION_RESPONSE.Memo], T1.[TRANSACTION_RESPONSE.Purchase], T1.");
            viewString.Append("[TRANSACTION_RESPONSE.Authorize], T1.[TRANSACTION_RESPONSE.Gratuity], T1.[TRANSA");
            viewString.Append("CTION_RESPONSE.CashBack], T1.[TRANSACTION_RESPONSE.Balance], T1.[TRANSACTION_RES");
            viewString.Append("PONSE.AcqRefData], T1.[TRANSACTION_RESPONSE.RecordNo], T1.[TRANSACTION_RESPONSE.");
            viewString.Append("IssueCurrency], T1.[TRANSACTION_RESPONSE.IssueCurrencyPreviousBalance], T1.[TRAN");
            viewString.Append("SACTION_RESPONSE.IssueCurrencyEndingBalance], T1.[TRANSACTION_RESPONSE.ExchangeR");
            viewString.Append("ate], T1.[TRANSACTION_RESPONSE.PrePaidExp], T1.[TRANSACTION_RESPONSE.Language], ");
            viewString.Append("T1.[TRANSACTION_RESPONSE.BankRespCode], T1.[TRANSACTION_RESPONSE.ISORespCode], T");
            viewString.Append("1.[TRANSACTION_RESPONSE.TranDate], T1.[TRANSACTION_RESPONSE.TranTime], T1.[TRANS");
            viewString.Append("ACTION_RESPONSE.Card4], T1.[TRANSACTION_RESPONSE.CardKeyedOrSwiped], T1.[TRANSAC");
            viewString.Append("TION_RESPONSE.ReturnedToCustomer], T1.[TRANSACTION_RESPONSE.CreditCardTipFee], T");
            viewString.Append("1.[TRANSACTION_RESPONSE.CardRelatedTransactionID], T1.[TRANSACTION_RESPONSE.Retu");
            viewString.Append("rnedToCustomerPaidOutId], T1.[TRANSACTION_RESPONSE.ProcessData])\r\n    FROM (\r\n  ");
            viewString.Append("      SELECT \r\n            T.Id AS [TRANSACTION_RESPONSE.Id], \r\n            T.Re");
            viewString.Append("sponseOrigin AS [TRANSACTION_RESPONSE.ResponseOrigin], \r\n            T.DSIXRetur");
            viewString.Append("nCode AS [TRANSACTION_RESPONSE.DSIXReturnCode], \r\n            T.CmdStatus AS [TR");
            viewString.Append("ANSACTION_RESPONSE.CmdStatus], \r\n            T.TextResponse AS [TRANSACTION_RESP");
            viewString.Append("ONSE.TextResponse], \r\n            T.UserTraceData AS [TRANSACTION_RESPONSE.UserT");
            viewString.Append("raceData], \r\n            T.SequenceNo AS [TRANSACTION_RESPONSE.SequenceNo], \r\n  ");
            viewString.Append("          T.MerchantID AS [TRANSACTION_RESPONSE.MerchantID], \r\n            T.Ter");
            viewString.Append("minalID AS [TRANSACTION_RESPONSE.TerminalID], \r\n            T.ExpDate AS [TRANSA");
            viewString.Append("CTION_RESPONSE.ExpDate], \r\n            T.CardType AS [TRANSACTION_RESPONSE.CardT");
            viewString.Append("ype], \r\n            T.Selection AS [TRANSACTION_RESPONSE.Selection], \r\n         ");
            viewString.Append("   T.TranCode AS [TRANSACTION_RESPONSE.TranCode], \r\n            T.AuthCode AS [T");
            viewString.Append("RANSACTION_RESPONSE.AuthCode], \r\n            T.AVSResult AS [TRANSACTION_RESPONS");
            viewString.Append("E.AVSResult], \r\n            T.CVVResult AS [TRANSACTION_RESPONSE.CVVResult], \r\n ");
            viewString.Append("           T.VoucherNo AS [TRANSACTION_RESPONSE.VoucherNo], \r\n            T.Capt");
            viewString.Append("ureStatus AS [TRANSACTION_RESPONSE.CaptureStatus], \r\n            T.RefNo AS [TRA");
            viewString.Append("NSACTION_RESPONSE.RefNo], \r\n            T.InvoiceNo AS [TRANSACTION_RESPONSE.Inv");
            viewString.Append("oiceNo], \r\n            T.OperatorID AS [TRANSACTION_RESPONSE.OperatorID], \r\n    ");
            viewString.Append("        T.Memo AS [TRANSACTION_RESPONSE.Memo], \r\n            T.Purchase AS [TRAN");
            viewString.Append("SACTION_RESPONSE.Purchase], \r\n            T.Authorize AS [TRANSACTION_RESPONSE.A");
            viewString.Append("uthorize], \r\n            T.Gratuity AS [TRANSACTION_RESPONSE.Gratuity], \r\n      ");
            viewString.Append("      T.CashBack AS [TRANSACTION_RESPONSE.CashBack], \r\n            T.Balance AS ");
            viewString.Append("[TRANSACTION_RESPONSE.Balance], \r\n            T.AcqRefData AS [TRANSACTION_RESPO");
            viewString.Append("NSE.AcqRefData], \r\n            T.RecordNo AS [TRANSACTION_RESPONSE.RecordNo], \r\n");
            viewString.Append("            T.IssueCurrency AS [TRANSACTION_RESPONSE.IssueCurrency], \r\n         ");
            viewString.Append("   T.IssueCurrencyPreviousBalance AS [TRANSACTION_RESPONSE.IssueCurrencyPrevious");
            viewString.Append("Balance], \r\n            T.IssueCurrencyEndingBalance AS [TRANSACTION_RESPONSE.Is");
            viewString.Append("sueCurrencyEndingBalance], \r\n            T.ExchangeRate AS [TRANSACTION_RESPONSE");
            viewString.Append(".ExchangeRate], \r\n            T.PrePaidExp AS [TRANSACTION_RESPONSE.PrePaidExp],");
            viewString.Append(" \r\n            T.Language AS [TRANSACTION_RESPONSE.Language], \r\n            T.Ba");
            viewString.Append("nkRespCode AS [TRANSACTION_RESPONSE.BankRespCode], \r\n            T.ISORespCode A");
            viewString.Append("S [TRANSACTION_RESPONSE.ISORespCode], \r\n            T.TranDate AS [TRANSACTION_R");
            viewString.Append("ESPONSE.TranDate], \r\n            T.TranTime AS [TRANSACTION_RESPONSE.TranTime], ");
            viewString.Append("\r\n            T.Card4 AS [TRANSACTION_RESPONSE.Card4], \r\n            T.CardKeyed");
            viewString.Append("OrSwiped AS [TRANSACTION_RESPONSE.CardKeyedOrSwiped], \r\n            T.ReturnedTo");
            viewString.Append("Customer AS [TRANSACTION_RESPONSE.ReturnedToCustomer], \r\n            T.CreditCar");
            viewString.Append("dTipFee AS [TRANSACTION_RESPONSE.CreditCardTipFee], \r\n            T.CardRelatedT");
            viewString.Append("ransactionID AS [TRANSACTION_RESPONSE.CardRelatedTransactionID], \r\n            T");
            viewString.Append(".ReturnedToCustomerPaidOutId AS [TRANSACTION_RESPONSE.ReturnedToCustomerPaidOutI");
            viewString.Append("d], \r\n            T.ProcessData AS [TRANSACTION_RESPONSE.ProcessData], \r\n       ");
            viewString.Append("     True AS _from0\r\n        FROM DominicaModelStoreContainer.TRANSACTION_RESPON");
            viewString.Append("SES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.TRANSACTION_RESPONSES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.CACHES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView145()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.CACHES", @"
    SELECT VALUE -- Constructing CACHES
        [DominicaModel.Store.CACHES](T1.CACHES_Id, T1.CACHES_BinP, T1.CACHES_BinE, T1.CACHES_DateTime)
    FROM (
        SELECT 
            T.Id AS CACHES_Id, 
            T.BinP AS CACHES_BinP, 
            T.BinE AS CACHES_BinE, 
            T.DateTime AS CACHES_DateTime, 
            True AS _from0
        FROM DominicaEntities.CACHES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.CACHES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView146()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.CACHES", @"
    SELECT VALUE -- Constructing CACHES
        [DominicaModel.CACHE](T1.CACHE_Id, T1.CACHE_BinP, T1.CACHE_BinE, T1.CACHE_DateTime)
    FROM (
        SELECT 
            T.Id AS CACHE_Id, 
            T.BinP AS CACHE_BinP, 
            T.BinE AS CACHE_BinE, 
            T.DateTime AS CACHE_DateTime, 
            True AS _from0
        FROM DominicaModelStoreContainer.CACHES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PAYMENT_REASONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView147()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PAYMENT_REASONS", @"
    SELECT VALUE -- Constructing PAYMENT_REASONS
        [DominicaModel.Store.PAYMENT_REASONS](T1.[PAYMENT_REASONS.Id], T1.[PAYMENT_REASONS.Name], T1.[PAYMENT_REASONS.IsPaidIn], T1.[PAYMENT_REASONS.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [PAYMENT_REASONS.Id], 
            T.Name AS [PAYMENT_REASONS.Name], 
            T.IsPaidIn AS [PAYMENT_REASONS.IsPaidIn], 
            T.IsDeleted AS [PAYMENT_REASONS.IsDeleted], 
            True AS _from0
        FROM DominicaEntities.PAYMENT_REASONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PAYMENT_REASONS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView148()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PAYMENT_REASONS", @"
    SELECT VALUE -- Constructing PAYMENT_REASONS
        [DominicaModel.PAYMENT_REASON](T1.[PAYMENT_REASON.Id], T1.[PAYMENT_REASON.Name], T1.[PAYMENT_REASON.IsPaidIn], T1.[PAYMENT_REASON.IsDeleted])
    FROM (
        SELECT 
            T.Id AS [PAYMENT_REASON.Id], 
            T.Name AS [PAYMENT_REASON.Name], 
            T.IsPaidIn AS [PAYMENT_REASON.IsPaidIn], 
            T.IsDeleted AS [PAYMENT_REASON.IsDeleted], 
            True AS _from0
        FROM DominicaModelStoreContainer.PAYMENT_REASONS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.BATCH_CLOSE_RESPONSES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView149()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2760);
            viewString.Append("\r\n    SELECT VALUE -- Constructing BATCH_CLOSE_RESPONSES\r\n        [DominicaModel");
            viewString.Append(".Store.BATCH_CLOSE_RESPONSES](T1.[BATCH_CLOSE_RESPONSES.Id], T1.[BATCH_CLOSE_RES");
            viewString.Append("PONSES.ResponseOrigin], T1.[BATCH_CLOSE_RESPONSES.DSIXReturnCode], T1.[BATCH_CLO");
            viewString.Append("SE_RESPONSES.CmdStatus], T1.[BATCH_CLOSE_RESPONSES.TextResponse], T1.[BATCH_CLOS");
            viewString.Append("E_RESPONSES.SequenceNo], T1.[BATCH_CLOSE_RESPONSES.UserTraceData], T1.[BATCH_CLO");
            viewString.Append("SE_RESPONSES.MerchantID], T1.[BATCH_CLOSE_RESPONSES.TerminalID], T1.[BATCH_CLOSE");
            viewString.Append("_RESPONSES.OperatorID], T1.[BATCH_CLOSE_RESPONSES.BatchNo], T1.[BATCH_CLOSE_RESP");
            viewString.Append("ONSES.BatchItemCount], T1.[BATCH_CLOSE_RESPONSES.NetBatchTotal], T1.[BATCH_CLOSE");
            viewString.Append("_RESPONSES.CreditPurchaseCount], T1.[BATCH_CLOSE_RESPONSES.CreditPurchaseAmount]");
            viewString.Append(", T1.[BATCH_CLOSE_RESPONSES.CreditReturnCount], T1.[BATCH_CLOSE_RESPONSES.Credit");
            viewString.Append("ReturnAmount], T1.[BATCH_CLOSE_RESPONSES.DebitPurchaseCount], T1.[BATCH_CLOSE_RE");
            viewString.Append("SPONSES.DebitPurchaseAmount], T1.[BATCH_CLOSE_RESPONSES.DebitReturnCount], T1.[B");
            viewString.Append("ATCH_CLOSE_RESPONSES.DebitReturnAmount], T1.[BATCH_CLOSE_RESPONSES.ControlNo])\r\n");
            viewString.Append("    FROM (\r\n        SELECT \r\n            T.Id AS [BATCH_CLOSE_RESPONSES.Id], \r\n ");
            viewString.Append("           T.ResponseOrigin AS [BATCH_CLOSE_RESPONSES.ResponseOrigin], \r\n       ");
            viewString.Append("     T.DSIXReturnCode AS [BATCH_CLOSE_RESPONSES.DSIXReturnCode], \r\n            T");
            viewString.Append(".CmdStatus AS [BATCH_CLOSE_RESPONSES.CmdStatus], \r\n            T.TextResponse AS");
            viewString.Append(" [BATCH_CLOSE_RESPONSES.TextResponse], \r\n            T.SequenceNo AS [BATCH_CLOS");
            viewString.Append("E_RESPONSES.SequenceNo], \r\n            T.UserTraceData AS [BATCH_CLOSE_RESPONSES");
            viewString.Append(".UserTraceData], \r\n            T.MerchantID AS [BATCH_CLOSE_RESPONSES.MerchantID");
            viewString.Append("], \r\n            T.TerminalID AS [BATCH_CLOSE_RESPONSES.TerminalID], \r\n         ");
            viewString.Append("   T.OperatorID AS [BATCH_CLOSE_RESPONSES.OperatorID], \r\n            T.BatchNo A");
            viewString.Append("S [BATCH_CLOSE_RESPONSES.BatchNo], \r\n            T.BatchItemCount AS [BATCH_CLOS");
            viewString.Append("E_RESPONSES.BatchItemCount], \r\n            T.NetBatchTotal AS [BATCH_CLOSE_RESPO");
            viewString.Append("NSES.NetBatchTotal], \r\n            T.CreditPurchaseCount AS [BATCH_CLOSE_RESPONS");
            viewString.Append("ES.CreditPurchaseCount], \r\n            T.CreditPurchaseAmount AS [BATCH_CLOSE_RE");
            viewString.Append("SPONSES.CreditPurchaseAmount], \r\n            T.CreditReturnCount AS [BATCH_CLOSE");
            viewString.Append("_RESPONSES.CreditReturnCount], \r\n            T.CreditReturnAmount AS [BATCH_CLOS");
            viewString.Append("E_RESPONSES.CreditReturnAmount], \r\n            T.DebitPurchaseCount AS [BATCH_CL");
            viewString.Append("OSE_RESPONSES.DebitPurchaseCount], \r\n            T.DebitPurchaseAmount AS [BATCH");
            viewString.Append("_CLOSE_RESPONSES.DebitPurchaseAmount], \r\n            T.DebitReturnCount AS [BATC");
            viewString.Append("H_CLOSE_RESPONSES.DebitReturnCount], \r\n            T.DebitReturnAmount AS [BATCH");
            viewString.Append("_CLOSE_RESPONSES.DebitReturnAmount], \r\n            T.ControlNo AS [BATCH_CLOSE_R");
            viewString.Append("ESPONSES.ControlNo], \r\n            True AS _from0\r\n        FROM DominicaEntities");
            viewString.Append(".BATCH_CLOSE_RESPONSES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.BATCH_CLOSE_RESPONSES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.BATCH_CLOSE_RESPONSES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView150()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2720);
            viewString.Append("\r\n    SELECT VALUE -- Constructing BATCH_CLOSE_RESPONSES\r\n        [DominicaModel");
            viewString.Append(".BATCH_CLOSE_RESPONSE](T1.[BATCH_CLOSE_RESPONSE.Id], T1.[BATCH_CLOSE_RESPONSE.Re");
            viewString.Append("sponseOrigin], T1.[BATCH_CLOSE_RESPONSE.DSIXReturnCode], T1.[BATCH_CLOSE_RESPONS");
            viewString.Append("E.CmdStatus], T1.[BATCH_CLOSE_RESPONSE.TextResponse], T1.[BATCH_CLOSE_RESPONSE.S");
            viewString.Append("equenceNo], T1.[BATCH_CLOSE_RESPONSE.UserTraceData], T1.[BATCH_CLOSE_RESPONSE.Me");
            viewString.Append("rchantID], T1.[BATCH_CLOSE_RESPONSE.TerminalID], T1.[BATCH_CLOSE_RESPONSE.Operat");
            viewString.Append("orID], T1.[BATCH_CLOSE_RESPONSE.BatchNo], T1.[BATCH_CLOSE_RESPONSE.BatchItemCoun");
            viewString.Append("t], T1.[BATCH_CLOSE_RESPONSE.NetBatchTotal], T1.[BATCH_CLOSE_RESPONSE.CreditPurc");
            viewString.Append("haseCount], T1.[BATCH_CLOSE_RESPONSE.CreditPurchaseAmount], T1.[BATCH_CLOSE_RESP");
            viewString.Append("ONSE.CreditReturnCount], T1.[BATCH_CLOSE_RESPONSE.CreditReturnAmount], T1.[BATCH");
            viewString.Append("_CLOSE_RESPONSE.DebitPurchaseCount], T1.[BATCH_CLOSE_RESPONSE.DebitPurchaseAmoun");
            viewString.Append("t], T1.[BATCH_CLOSE_RESPONSE.DebitReturnCount], T1.[BATCH_CLOSE_RESPONSE.DebitRe");
            viewString.Append("turnAmount], T1.[BATCH_CLOSE_RESPONSE.ControlNo])\r\n    FROM (\r\n        SELECT \r\n");
            viewString.Append("            T.Id AS [BATCH_CLOSE_RESPONSE.Id], \r\n            T.ResponseOrigin AS");
            viewString.Append(" [BATCH_CLOSE_RESPONSE.ResponseOrigin], \r\n            T.DSIXReturnCode AS [BATCH");
            viewString.Append("_CLOSE_RESPONSE.DSIXReturnCode], \r\n            T.CmdStatus AS [BATCH_CLOSE_RESPO");
            viewString.Append("NSE.CmdStatus], \r\n            T.TextResponse AS [BATCH_CLOSE_RESPONSE.TextRespon");
            viewString.Append("se], \r\n            T.SequenceNo AS [BATCH_CLOSE_RESPONSE.SequenceNo], \r\n        ");
            viewString.Append("    T.UserTraceData AS [BATCH_CLOSE_RESPONSE.UserTraceData], \r\n            T.Mer");
            viewString.Append("chantID AS [BATCH_CLOSE_RESPONSE.MerchantID], \r\n            T.TerminalID AS [BAT");
            viewString.Append("CH_CLOSE_RESPONSE.TerminalID], \r\n            T.OperatorID AS [BATCH_CLOSE_RESPON");
            viewString.Append("SE.OperatorID], \r\n            T.BatchNo AS [BATCH_CLOSE_RESPONSE.BatchNo], \r\n   ");
            viewString.Append("         T.BatchItemCount AS [BATCH_CLOSE_RESPONSE.BatchItemCount], \r\n          ");
            viewString.Append("  T.NetBatchTotal AS [BATCH_CLOSE_RESPONSE.NetBatchTotal], \r\n            T.Credi");
            viewString.Append("tPurchaseCount AS [BATCH_CLOSE_RESPONSE.CreditPurchaseCount], \r\n            T.Cr");
            viewString.Append("editPurchaseAmount AS [BATCH_CLOSE_RESPONSE.CreditPurchaseAmount], \r\n           ");
            viewString.Append(" T.CreditReturnCount AS [BATCH_CLOSE_RESPONSE.CreditReturnCount], \r\n            ");
            viewString.Append("T.CreditReturnAmount AS [BATCH_CLOSE_RESPONSE.CreditReturnAmount], \r\n           ");
            viewString.Append(" T.DebitPurchaseCount AS [BATCH_CLOSE_RESPONSE.DebitPurchaseCount], \r\n          ");
            viewString.Append("  T.DebitPurchaseAmount AS [BATCH_CLOSE_RESPONSE.DebitPurchaseAmount], \r\n       ");
            viewString.Append("     T.DebitReturnCount AS [BATCH_CLOSE_RESPONSE.DebitReturnCount], \r\n          ");
            viewString.Append("  T.DebitReturnAmount AS [BATCH_CLOSE_RESPONSE.DebitReturnAmount], \r\n           ");
            viewString.Append(" T.ControlNo AS [BATCH_CLOSE_RESPONSE.ControlNo], \r\n            True AS _from0\r\n");
            viewString.Append("        FROM DominicaModelStoreContainer.BATCH_CLOSE_RESPONSES AS T\r\n    ) AS T1");
            viewString.Append("");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.BATCH_CLOSE_RESPONSES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.BATCH_SUMMARY_RESPONSES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView151()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2748);
            viewString.Append("\r\n    SELECT VALUE -- Constructing BATCH_SUMMARY_RESPONSES\r\n        [DominicaMod");
            viewString.Append("el.Store.BATCH_SUMMARY_RESPONSES](T1.[BATCH_SUMMARY_RESPONSES.Id], T1.[BATCH_SUM");
            viewString.Append("MARY_RESPONSES.ResponseOrigin], T1.[BATCH_SUMMARY_RESPONSES.DSIXReturnCode], T1.");
            viewString.Append("[BATCH_SUMMARY_RESPONSES.CmdStatus], T1.[BATCH_SUMMARY_RESPONSES.TextResponse], ");
            viewString.Append("T1.[BATCH_SUMMARY_RESPONSES.SequenceNo], T1.[BATCH_SUMMARY_RESPONSES.UserTraceDa");
            viewString.Append("ta], T1.[BATCH_SUMMARY_RESPONSES.MerchantID], T1.[BATCH_SUMMARY_RESPONSES.Termin");
            viewString.Append("alID], T1.[BATCH_SUMMARY_RESPONSES.OperatorID], T1.[BATCH_SUMMARY_RESPONSES.Batc");
            viewString.Append("hNo], T1.[BATCH_SUMMARY_RESPONSES.BatchItemCount], T1.[BATCH_SUMMARY_RESPONSES.N");
            viewString.Append("etBatchTotal], T1.[BATCH_SUMMARY_RESPONSES.CreditPurchaseCount], T1.[BATCH_SUMMA");
            viewString.Append("RY_RESPONSES.CreditPurchaseAmount], T1.[BATCH_SUMMARY_RESPONSES.CreditReturnCoun");
            viewString.Append("t], T1.[BATCH_SUMMARY_RESPONSES.CreditReturnAmount], T1.[BATCH_SUMMARY_RESPONSES");
            viewString.Append(".DebitPurchaseCount], T1.[BATCH_SUMMARY_RESPONSES.DebitPurchaseAmount], T1.[BATC");
            viewString.Append("H_SUMMARY_RESPONSES.DebitReturnCount], T1.[BATCH_SUMMARY_RESPONSES.DebitReturnAm");
            viewString.Append("ount])\r\n    FROM (\r\n        SELECT \r\n            T.Id AS [BATCH_SUMMARY_RESPONSE");
            viewString.Append("S.Id], \r\n            T.ResponseOrigin AS [BATCH_SUMMARY_RESPONSES.ResponseOrigin");
            viewString.Append("], \r\n            T.DSIXReturnCode AS [BATCH_SUMMARY_RESPONSES.DSIXReturnCode], \r");
            viewString.Append("\n            T.CmdStatus AS [BATCH_SUMMARY_RESPONSES.CmdStatus], \r\n            T");
            viewString.Append(".TextResponse AS [BATCH_SUMMARY_RESPONSES.TextResponse], \r\n            T.Sequenc");
            viewString.Append("eNo AS [BATCH_SUMMARY_RESPONSES.SequenceNo], \r\n            T.UserTraceData AS [B");
            viewString.Append("ATCH_SUMMARY_RESPONSES.UserTraceData], \r\n            T.MerchantID AS [BATCH_SUMM");
            viewString.Append("ARY_RESPONSES.MerchantID], \r\n            T.TerminalID AS [BATCH_SUMMARY_RESPONSE");
            viewString.Append("S.TerminalID], \r\n            T.OperatorID AS [BATCH_SUMMARY_RESPONSES.OperatorID");
            viewString.Append("], \r\n            T.BatchNo AS [BATCH_SUMMARY_RESPONSES.BatchNo], \r\n            T");
            viewString.Append(".BatchItemCount AS [BATCH_SUMMARY_RESPONSES.BatchItemCount], \r\n            T.Net");
            viewString.Append("BatchTotal AS [BATCH_SUMMARY_RESPONSES.NetBatchTotal], \r\n            T.CreditPur");
            viewString.Append("chaseCount AS [BATCH_SUMMARY_RESPONSES.CreditPurchaseCount], \r\n            T.Cre");
            viewString.Append("ditPurchaseAmount AS [BATCH_SUMMARY_RESPONSES.CreditPurchaseAmount], \r\n         ");
            viewString.Append("   T.CreditReturnCount AS [BATCH_SUMMARY_RESPONSES.CreditReturnCount], \r\n       ");
            viewString.Append("     T.CreditReturnAmount AS [BATCH_SUMMARY_RESPONSES.CreditReturnAmount], \r\n   ");
            viewString.Append("         T.DebitPurchaseCount AS [BATCH_SUMMARY_RESPONSES.DebitPurchaseCount], \r");
            viewString.Append("\n            T.DebitPurchaseAmount AS [BATCH_SUMMARY_RESPONSES.DebitPurchaseAmou");
            viewString.Append("nt], \r\n            T.DebitReturnCount AS [BATCH_SUMMARY_RESPONSES.DebitReturnCou");
            viewString.Append("nt], \r\n            T.DebitReturnAmount AS [BATCH_SUMMARY_RESPONSES.DebitReturnAm");
            viewString.Append("ount], \r\n            True AS _from0\r\n        FROM DominicaEntities.BATCH_SUMMARY");
            viewString.Append("_RESPONSES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.BATCH_SUMMARY_RESPONSES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaEntities.BATCH_SUMMARY_RESPONSES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView152()
        {
            System.Text.StringBuilder viewString = new System.Text.StringBuilder(2710);
            viewString.Append("\r\n    SELECT VALUE -- Constructing BATCH_SUMMARY_RESPONSES\r\n        [DominicaMod");
            viewString.Append("el.BATCH_SUMMARY_RESPONSE](T1.[BATCH_SUMMARY_RESPONSE.Id], T1.[BATCH_SUMMARY_RES");
            viewString.Append("PONSE.ResponseOrigin], T1.[BATCH_SUMMARY_RESPONSE.DSIXReturnCode], T1.[BATCH_SUM");
            viewString.Append("MARY_RESPONSE.CmdStatus], T1.[BATCH_SUMMARY_RESPONSE.TextResponse], T1.[BATCH_SU");
            viewString.Append("MMARY_RESPONSE.SequenceNo], T1.[BATCH_SUMMARY_RESPONSE.UserTraceData], T1.[BATCH");
            viewString.Append("_SUMMARY_RESPONSE.MerchantID], T1.[BATCH_SUMMARY_RESPONSE.TerminalID], T1.[BATCH");
            viewString.Append("_SUMMARY_RESPONSE.OperatorID], T1.[BATCH_SUMMARY_RESPONSE.BatchNo], T1.[BATCH_SU");
            viewString.Append("MMARY_RESPONSE.BatchItemCount], T1.[BATCH_SUMMARY_RESPONSE.NetBatchTotal], T1.[B");
            viewString.Append("ATCH_SUMMARY_RESPONSE.CreditPurchaseCount], T1.[BATCH_SUMMARY_RESPONSE.CreditPur");
            viewString.Append("chaseAmount], T1.[BATCH_SUMMARY_RESPONSE.CreditReturnCount], T1.[BATCH_SUMMARY_R");
            viewString.Append("ESPONSE.CreditReturnAmount], T1.[BATCH_SUMMARY_RESPONSE.DebitPurchaseCount], T1.");
            viewString.Append("[BATCH_SUMMARY_RESPONSE.DebitPurchaseAmount], T1.[BATCH_SUMMARY_RESPONSE.DebitRe");
            viewString.Append("turnCount], T1.[BATCH_SUMMARY_RESPONSE.DebitReturnAmount])\r\n    FROM (\r\n        ");
            viewString.Append("SELECT \r\n            T.Id AS [BATCH_SUMMARY_RESPONSE.Id], \r\n            T.Respon");
            viewString.Append("seOrigin AS [BATCH_SUMMARY_RESPONSE.ResponseOrigin], \r\n            T.DSIXReturnC");
            viewString.Append("ode AS [BATCH_SUMMARY_RESPONSE.DSIXReturnCode], \r\n            T.CmdStatus AS [BA");
            viewString.Append("TCH_SUMMARY_RESPONSE.CmdStatus], \r\n            T.TextResponse AS [BATCH_SUMMARY_");
            viewString.Append("RESPONSE.TextResponse], \r\n            T.SequenceNo AS [BATCH_SUMMARY_RESPONSE.Se");
            viewString.Append("quenceNo], \r\n            T.UserTraceData AS [BATCH_SUMMARY_RESPONSE.UserTraceDat");
            viewString.Append("a], \r\n            T.MerchantID AS [BATCH_SUMMARY_RESPONSE.MerchantID], \r\n       ");
            viewString.Append("     T.TerminalID AS [BATCH_SUMMARY_RESPONSE.TerminalID], \r\n            T.Operat");
            viewString.Append("orID AS [BATCH_SUMMARY_RESPONSE.OperatorID], \r\n            T.BatchNo AS [BATCH_S");
            viewString.Append("UMMARY_RESPONSE.BatchNo], \r\n            T.BatchItemCount AS [BATCH_SUMMARY_RESPO");
            viewString.Append("NSE.BatchItemCount], \r\n            T.NetBatchTotal AS [BATCH_SUMMARY_RESPONSE.Ne");
            viewString.Append("tBatchTotal], \r\n            T.CreditPurchaseCount AS [BATCH_SUMMARY_RESPONSE.Cre");
            viewString.Append("ditPurchaseCount], \r\n            T.CreditPurchaseAmount AS [BATCH_SUMMARY_RESPON");
            viewString.Append("SE.CreditPurchaseAmount], \r\n            T.CreditReturnCount AS [BATCH_SUMMARY_RE");
            viewString.Append("SPONSE.CreditReturnCount], \r\n            T.CreditReturnAmount AS [BATCH_SUMMARY_");
            viewString.Append("RESPONSE.CreditReturnAmount], \r\n            T.DebitPurchaseCount AS [BATCH_SUMMA");
            viewString.Append("RY_RESPONSE.DebitPurchaseCount], \r\n            T.DebitPurchaseAmount AS [BATCH_S");
            viewString.Append("UMMARY_RESPONSE.DebitPurchaseAmount], \r\n            T.DebitReturnCount AS [BATCH");
            viewString.Append("_SUMMARY_RESPONSE.DebitReturnCount], \r\n            T.DebitReturnAmount AS [BATCH");
            viewString.Append("_SUMMARY_RESPONSE.DebitReturnAmount], \r\n            True AS _from0\r\n        FROM");
            viewString.Append(" DominicaModelStoreContainer.BATCH_SUMMARY_RESPONSES AS T\r\n    ) AS T1");
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.BATCH_SUMMARY_RESPONSES", viewString.ToString());
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.ATTACHED_DEVICES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView153()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.ATTACHED_DEVICES", @"
    SELECT VALUE -- Constructing ATTACHED_DEVICES
        [DominicaModel.Store.ATTACHED_DEVICES](T1.[ATTACHED_DEVICES.Id], T1.[ATTACHED_DEVICES.TypeId], T1.[ATTACHED_DEVICES.DeviceId], T1.[ATTACHED_DEVICES.VendorId], T1.[ATTACHED_DEVICES.PortName], T1.[ATTACHED_DEVICES.Spare64])
    FROM (
        SELECT 
            T.Id AS [ATTACHED_DEVICES.Id], 
            T.TypeId AS [ATTACHED_DEVICES.TypeId], 
            T.DeviceId AS [ATTACHED_DEVICES.DeviceId], 
            T.VendorId AS [ATTACHED_DEVICES.VendorId], 
            T.PortName AS [ATTACHED_DEVICES.PortName], 
            T.Spare64 AS [ATTACHED_DEVICES.Spare64], 
            True AS _from0
        FROM DominicaEntities.ATTACHED_DEVICES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.ATTACHED_DEVICES
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView154()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.ATTACHED_DEVICES", @"
    SELECT VALUE -- Constructing ATTACHED_DEVICES
        [DominicaModel.ATTACHED_DEVICE](T1.[ATTACHED_DEVICE.Id], T1.[ATTACHED_DEVICE.TypeId], T1.[ATTACHED_DEVICE.DeviceId], T1.[ATTACHED_DEVICE.VendorId], T1.[ATTACHED_DEVICE.PortName], T1.[ATTACHED_DEVICE.Spare64])
    FROM (
        SELECT 
            T.Id AS [ATTACHED_DEVICE.Id], 
            T.TypeId AS [ATTACHED_DEVICE.TypeId], 
            T.DeviceId AS [ATTACHED_DEVICE.DeviceId], 
            T.VendorId AS [ATTACHED_DEVICE.VendorId], 
            T.PortName AS [ATTACHED_DEVICE.PortName], 
            T.Spare64 AS [ATTACHED_DEVICE.Spare64], 
            True AS _from0
        FROM DominicaModelStoreContainer.ATTACHED_DEVICES AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.CRON_JOBS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView155()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.CRON_JOBS", @"
    SELECT VALUE -- Constructing CRON_JOBS
        [DominicaModel.Store.CRON_JOBS](T1.[CRON_JOBS.Id], T1.[CRON_JOBS.TypeId], T1.[CRON_JOBS.StringParam1], T1.[CRON_JOBS.StringParam2], T1.[CRON_JOBS.StringParam3], T1.[CRON_JOBS.Int64Param1], T1.[CRON_JOBS.Int64Param2], T1.[CRON_JOBS.Int64Param3], T1.[CRON_JOBS.StartTime], T1.[CRON_JOBS.IntervalMinutes], T1.[CRON_JOBS.TimesPerDay], T1.[CRON_JOBS.DateTimeSpare1], T1.[CRON_JOBS.DateTimeSpare2], T1.[CRON_JOBS.StringParam4])
    FROM (
        SELECT 
            T.Id AS [CRON_JOBS.Id], 
            T.TypeId AS [CRON_JOBS.TypeId], 
            T.StringParam1 AS [CRON_JOBS.StringParam1], 
            T.StringParam2 AS [CRON_JOBS.StringParam2], 
            T.StringParam3 AS [CRON_JOBS.StringParam3], 
            T.Int64Param1 AS [CRON_JOBS.Int64Param1], 
            T.Int64Param2 AS [CRON_JOBS.Int64Param2], 
            T.Int64Param3 AS [CRON_JOBS.Int64Param3], 
            T.StartTime AS [CRON_JOBS.StartTime], 
            T.IntervalMinutes AS [CRON_JOBS.IntervalMinutes], 
            T.TimesPerDay AS [CRON_JOBS.TimesPerDay], 
            T.DateTimeSpare1 AS [CRON_JOBS.DateTimeSpare1], 
            T.DateTimeSpare2 AS [CRON_JOBS.DateTimeSpare2], 
            T.StringParam4 AS [CRON_JOBS.StringParam4], 
            True AS _from0
        FROM DominicaEntities.CRON_JOBS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.CRON_JOBS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView156()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.CRON_JOBS", @"
    SELECT VALUE -- Constructing CRON_JOBS
        [DominicaModel.CRON_JOB](T1.[CRON_JOB.Id], T1.[CRON_JOB.TypeId], T1.[CRON_JOB.StringParam1], T1.[CRON_JOB.StringParam2], T1.[CRON_JOB.StringParam3], T1.[CRON_JOB.Int64Param1], T1.[CRON_JOB.Int64Param2], T1.[CRON_JOB.Int64Param3], T1.[CRON_JOB.StartTime], T1.[CRON_JOB.IntervalMinutes], T1.[CRON_JOB.TimesPerDay], T1.[CRON_JOB.DateTimeSpare1], T1.[CRON_JOB.DateTimeSpare2], T1.[CRON_JOB.StringParam4])
    FROM (
        SELECT 
            T.Id AS [CRON_JOB.Id], 
            T.TypeId AS [CRON_JOB.TypeId], 
            T.StringParam1 AS [CRON_JOB.StringParam1], 
            T.StringParam2 AS [CRON_JOB.StringParam2], 
            T.StringParam3 AS [CRON_JOB.StringParam3], 
            T.Int64Param1 AS [CRON_JOB.Int64Param1], 
            T.Int64Param2 AS [CRON_JOB.Int64Param2], 
            T.Int64Param3 AS [CRON_JOB.Int64Param3], 
            T.StartTime AS [CRON_JOB.StartTime], 
            T.IntervalMinutes AS [CRON_JOB.IntervalMinutes], 
            T.TimesPerDay AS [CRON_JOB.TimesPerDay], 
            T.DateTimeSpare1 AS [CRON_JOB.DateTimeSpare1], 
            T.DateTimeSpare2 AS [CRON_JOB.DateTimeSpare2], 
            T.StringParam4 AS [CRON_JOB.StringParam4], 
            True AS _from0
        FROM DominicaModelStoreContainer.CRON_JOBS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.PAGELAYOUTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView157()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.PAGELAYOUTS", @"
    SELECT VALUE -- Constructing PAGELAYOUTS
        [DominicaModel.Store.PAGELAYOUTS](T1.PAGELAYOUTS_Id, T1.PAGELAYOUTS_PagedId, T1.PAGELAYOUTS_ObjectId)
    FROM (
        SELECT 
            T.Id AS PAGELAYOUTS_Id, 
            T.PagedId AS PAGELAYOUTS_PagedId, 
            T.ObjectId AS PAGELAYOUTS_ObjectId, 
            True AS _from0
        FROM DominicaEntities.PAGELAYOUTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.PAGELAYOUTS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView158()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.PAGELAYOUTS", @"
    SELECT VALUE -- Constructing PAGELAYOUTS
        [DominicaModel.PAGELAYOUT](T1.PAGELAYOUT_Id, T1.PAGELAYOUT_PagedId, T1.PAGELAYOUT_ObjectId)
    FROM (
        SELECT 
            T.Id AS PAGELAYOUT_Id, 
            T.PagedId AS PAGELAYOUT_PagedId, 
            T.ObjectId AS PAGELAYOUT_ObjectId, 
            True AS _from0
        FROM DominicaModelStoreContainer.PAGELAYOUTS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaModelStoreContainer.LAYOUTOBJS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView159()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaModelStoreContainer.LAYOUTOBJS", @"
    SELECT VALUE -- Constructing LAYOUTOBJS
        [DominicaModel.Store.LAYOUTOBJS](T1.LAYOUTOBJS_Id, T1.LAYOUTOBJS_Height, T1.LAYOUTOBJS_Width, T1.LAYOUTOBJS_X, T1.LAYOUTOBJS_Y, T1.LAYOUTOBJS_Image, T1.LAYOUTOBJS_Foreground, T1.LAYOUTOBJS_BackgroundStart, T1.LAYOUTOBJS_BackgroundEnd, T1.LAYOUTOBJS_FunctionNumber, T1.LAYOUTOBJS_SpareString, T1.LAYOUTOBJS_ProductId, T1.LAYOUTOBJS_CategoryId, T1.LAYOUTOBJS_SpareId, T1.LAYOUTOBJS_Style, T1.LAYOUTOBJS_Tag, T1.LAYOUTOBJS_PagedId, T1.LAYOUTOBJS_ButtonText)
    FROM (
        SELECT 
            T.Id AS LAYOUTOBJS_Id, 
            T.Height AS LAYOUTOBJS_Height, 
            T.Width AS LAYOUTOBJS_Width, 
            T.X AS LAYOUTOBJS_X, 
            T.Y AS LAYOUTOBJS_Y, 
            T.Image AS LAYOUTOBJS_Image, 
            T.Foreground AS LAYOUTOBJS_Foreground, 
            T.BackgroundStart AS LAYOUTOBJS_BackgroundStart, 
            T.BackgroundEnd AS LAYOUTOBJS_BackgroundEnd, 
            T.FunctionNumber AS LAYOUTOBJS_FunctionNumber, 
            T.SpareString AS LAYOUTOBJS_SpareString, 
            T.ProductId AS LAYOUTOBJS_ProductId, 
            T.CategoryId AS LAYOUTOBJS_CategoryId, 
            T.SpareId AS LAYOUTOBJS_SpareId, 
            T.Style AS LAYOUTOBJS_Style, 
            T.Tag AS LAYOUTOBJS_Tag, 
            T.PagedId AS LAYOUTOBJS_PagedId, 
            T.ButtonText AS LAYOUTOBJS_ButtonText, 
            True AS _from0
        FROM DominicaEntities.LAYOUTOBJS AS T
    ) AS T1");
        }
        
        /// <Summary>
        /// return view for DominicaEntities.LAYOUTOBJS
        /// </Summary>
        private System.Collections.Generic.KeyValuePair<string, string> GetView160()
        {
            return new System.Collections.Generic.KeyValuePair<string, string>("DominicaEntities.LAYOUTOBJS", @"
    SELECT VALUE -- Constructing LAYOUTOBJS
        [DominicaModel.LAYOUTOBJ](T1.LAYOUTOBJ_Id, T1.LAYOUTOBJ_Height, T1.LAYOUTOBJ_Width, T1.LAYOUTOBJ_X, T1.LAYOUTOBJ_Y, T1.LAYOUTOBJ_Image, T1.LAYOUTOBJ_Foreground, T1.LAYOUTOBJ_BackgroundStart, T1.LAYOUTOBJ_BackgroundEnd, T1.LAYOUTOBJ_FunctionNumber, T1.LAYOUTOBJ_SpareString, T1.LAYOUTOBJ_ProductId, T1.LAYOUTOBJ_CategoryId, T1.LAYOUTOBJ_SpareId, T1.LAYOUTOBJ_Style, T1.LAYOUTOBJ_Tag, T1.LAYOUTOBJ_PagedId, T1.LAYOUTOBJ_ButtonText)
    FROM (
        SELECT 
            T.Id AS LAYOUTOBJ_Id, 
            T.Height AS LAYOUTOBJ_Height, 
            T.Width AS LAYOUTOBJ_Width, 
            T.X AS LAYOUTOBJ_X, 
            T.Y AS LAYOUTOBJ_Y, 
            T.Image AS LAYOUTOBJ_Image, 
            T.Foreground AS LAYOUTOBJ_Foreground, 
            T.BackgroundStart AS LAYOUTOBJ_BackgroundStart, 
            T.BackgroundEnd AS LAYOUTOBJ_BackgroundEnd, 
            T.FunctionNumber AS LAYOUTOBJ_FunctionNumber, 
            T.SpareString AS LAYOUTOBJ_SpareString, 
            T.ProductId AS LAYOUTOBJ_ProductId, 
            T.CategoryId AS LAYOUTOBJ_CategoryId, 
            T.SpareId AS LAYOUTOBJ_SpareId, 
            T.Style AS LAYOUTOBJ_Style, 
            T.Tag AS LAYOUTOBJ_Tag, 
            T.PagedId AS LAYOUTOBJ_PagedId, 
            T.ButtonText AS LAYOUTOBJ_ButtonText, 
            True AS _from0
        FROM DominicaModelStoreContainer.LAYOUTOBJS AS T
    ) AS T1");
        }
    }
}


#endif
